@wordpress/components
Version:
UI components for WordPress.
10 lines • 306 B
TypeScript
export declare const normalizeTextString: (value: string) => string;
/**
* Escapes the RegExp special characters.
*
* @param {string} string Input string.
*
* @return {string} Regex-escaped string.
*/
export declare function escapeRegExp(string: string): string;
//# sourceMappingURL=strings.d.ts.map