We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b4fa8 commit c54f5cbCopy full SHA for c54f5cb
R/replace.r
@@ -57,7 +57,7 @@ str_replace <- function(string, pattern, replacement) {
57
}
58
59
switch(type(pattern),
60
- empty = stop("Empty `pattern`` not supported", call. = FALSE),
+ empty = stop("Empty `pattern` not supported", call. = FALSE),
61
bound = stop("Boundary `pattern` not supported", call. = FALSE),
62
fixed = stri_replace_first_fixed(string, pattern, replacement,
63
opts_fixed = opts(pattern)),
0 commit comments