R/webexercises_fns.R
escape_regex.Rd
Escape a string for regex
escape_regex(string)
A string to escape.
A string with escaped characters.
escape_regex("library(tidyverse)") #> [1] "library\\(tidyverse\\)"