R/utilities.R
escapeForRegex.Rd
Escape a string for possible regular expression match
escapeForRegex(string)
String to be escaped
string with prefix "\Q" and suffix "\E" appended. The resulting string will not be recognized as a regular expression pattern.