import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/escapeRegExp.js";
Escapes the RegExp
special characters "^", "$", "", ".", "*", "+",
"?", "(", ")", "[", "]", "{", "}", and "|" in string
.
Examples
_.escapeRegExp('lodash');
// => '[lodash](https://lodash.com/)'
_.escapeRegExp('lodash'); // => '[lodash](https://lodash.com/)'