powered by
perl(string)
fixed
ignore.case
pattern <- "(?x)a.b" strings <- c("abb", "a.b") str_detect(strings, pattern) str_detect(strings, perl(pattern))
Run the code above in your browser using DataLab