framework/js/dist-typings/common/utils/escapeRegExp.d.ts

7 lines
226 B
TypeScript
Raw Normal View History

/**
* Escapes the `RegExp` special characters in `input`.
*
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping
*/
export default function escapeRegExp(input: string): string;