package.dist.util.escapeRegex.d.ts Maven / Gradle / Ivy
/**
* Escapes a regular expression text so that it can be used in a regular expression.
*
* @param { string } text the string to be interpreted literally
* @returns { string } the escaped string
*/
declare const escapeRegex: (text: string) => string;
export default escapeRegex;