ignore.case {stringr} | R Documentation |
This function specifies that a pattern should ignore the case of matches.
ignore.case(string)
string |
pattern for which to ignore case |
pattern <- "a.b" strings <- c("ABB", "aaB", "aab") str_detect(strings, pattern) str_detect(strings, ignore.case(pattern))