mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 17:21:08 +08:00
7 lines
226 B
TypeScript
7 lines
226 B
TypeScript
/**
|
|
* 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;
|