in reply to Normalizing diacritics in (regex) search
Have you considered Unicode::Collate?
A more hacky way to go might be to use Unicode::Normalize to convert the string to NFD or NFKD, then use s/// to strip off the diacriticals. I call this hacky because this only handles diacriticals: it will not, for example, make a LATIN CAPITAL LETTER O WITH STROKE into a LATIN CAPITAL LETTER O.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Normalizing diacritics in (regex) search
by LanX (Saint) on Nov 25, 2025 at 03:34 UTC | |
|
Re^2: Normalizing diacritics in (regex) search
by ikegami (Patriarch) on Nov 25, 2025 at 18:14 UTC | |
|
Re^2: Normalizing diacritics in (regex) search
by LanX (Saint) on Nov 25, 2025 at 15:47 UTC | |
by Anonymous Monk on Nov 26, 2025 at 19:35 UTC | |
by LanX (Saint) on Nov 26, 2025 at 21:02 UTC | |
by LanX (Saint) on Nov 27, 2025 at 13:16 UTC |