regexEscape
regexEscape(
str):string
Defined in: utils/index.ts:22
Escapes all regex syntax characters with a backslash and returns the escaped string.
The returned string is not safe inside a character class.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string