Lodash.escapeRegExp

Escapes the RegExp special characters "^", "$", "", ".", "*", "+", "?", "(", ")", "[", "]", "{", "}", and "|" in string.

struct Lodash
nothrow @trusted @safe ref
escapeRegExp
()
()

Return Value

Type: auto ref

- Lodash chained on (string): the escaped string.

Meta