/** * Escapes a string for literal matching in a RegExp. * @source https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/RegularExpressions */ export declare const escape_regexp: (str: string) => string; /** * Reset a RegExp's lastIndex to 0 for global and sticky patterns. * Ensures consistent behavior by clearing state that affects subsequent matches. * @mutates regexp - sets lastIndex to 0 if regexp is global or sticky */ export declare const reset_regexp: (regexp: T) => T; //# sourceMappingURL=regexp.d.ts.map