salty
salty copied to clipboard
Vectorised `repfun`. Fixes tidyverse/stringr#551
This small fix prevents selective_replacement() from breaking on newer versions of stringr.
str_replace_all() will accept a character vector as replacement instead of a single function. See https://github.com/tidyverse/stringr/issues/551
As a heads up, we're planning to submit stringr 1.6.0 to CRAN on November 3.
@SereDef FYI we are on track for a Nov 3 submission