MCPcopy Create free account
hub / github.com/SimonBuxx/LogiJS / escapeRegExp

Function escapeRegExp

libraries/lodash.js:14252–14257  ·  view source on GitHub ↗

* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. * * @static * @memberOf _ * @since 3.0.0 * @category String * @param {string} [string=''] The string to escape. * @returns {string

(string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

toStringFunction · 0.85

Tested by

no test coverage detected