Searched refs:escapeRegex (Results 1 – 2 of 2) sorted by relevance
10 const escapeRegex = require("escape-string-regexp"); constant25 …const regex = new RegExp( escapeRegex(delim.left) + "([\\S\\s]*?)" + escapeRegex(delim.right), "g"…
2116 exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1'); function2581 return args.map(v => utils$5.escapeRegex(v)).join('..');2970 value = utils$5.escapeRegex(value);3064 const escaped = utils$5.escapeRegex(prev.value);