Examples for 'stringr::str_escape'


Escape regular expression metacharacters

Aliases: str_escape

Keywords:

### ** Examples

str_detect(c("a", "."), ".")
[1] TRUE TRUE
str_detect(c("a", "."), str_escape("."))
[1] FALSE  TRUE

[Package stringr version 1.5.1 Index]