export declare function escapeRegex(s: string): string; export interface RegexMatch { start: number; end: number; length: number; groups: string[]; } /** * RegExp: Get all matches and capturing groups * @param {RegExp} re * @param {String} str * @returns {Array>} */ export declare function matchAll(re: RegExp, str: string): RegexMatch[];