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 5b11cc1 commit fe52857Copy full SHA for fe52857
R/match.r
@@ -28,7 +28,7 @@
28
str_match <- function(string, pattern) {
29
switch(type(pattern),
30
regex = stri_match_first_regex(string, pattern,
31
- opts_regex = attr(pattern, "options")),
+ opts_regex = attr(pattern, "options"), cg_missing = ""),
32
stop("Can only match regular expressions", call. = FALSE)
33
)
34
}
0 commit comments