UNPKG

@2toad/profanity

Version:

A multi-language profanity filter with full TypeScript support

7 lines (6 loc) 192 B
/** * Escapes all Regular Expression characters in a string * @param text the string to escape * @returns an escaped string */ export declare const escapeRegExp: (text: string) => string;