This functions has been adapted from Hmisc::escapeRegex()

.escape_regex(string)

Arguments

string

a character vector

See also

Other other_helpers: .clean_backticks()