/** * Expands a pattern so that leet spellings, diacritics and cross-script * lookalikes also match. * * This rewrites the regex *source*, letters and all, so a pattern that carries * its own syntax can come out broken: `[abc]` becomes a nest of character * classes and `(?…)` loses its capture group name. The filter compiles * with the `u` flag, which is strict enough to reject both, and * `registerLanguage` compiles the expanded form up front — so this surfaces as * an error at registration rather than as silently different matching. * * Write patterns as plain words. For hand-written regexes, turn `aggressive` * off instead. */ export declare function toAggressivePattern(pattern: string): string; //# sourceMappingURL=aggressive.d.ts.map