Expand description
Fused normalization pipeline for case-insensitive, confusable-aware matching.
Pipeline: NFKC → CaseFold → Confusable Skeleton (NFD → confusable_map → NFD).
Two strings that produce the same normalize_for_matching output are
equivalent for matching purposes: they share the same compatibility
decomposition, the same case folding, and the same confusable prototype.
Structs§
- Matching
Options - Options for the matching normalization pipeline.
Functions§
- matches_
normalized - Check whether two strings match after full normalization.
- normalize_
for_ matching - Normalize input for matching: NFKC → CaseFold → Confusable Skeleton.
- normalize_
for_ matching_ utf16 - Normalize input for matching and encode the result as UTF-16.