in reply to Normalizing diacritics in (regex) search
You might convert to "fold case", perform "canonical decomposition" and drop all non-graphem-base characters, like
use Unicode::Normalize; say NFD(fc) =~ s/\P{GrBase}//gr for @ARGV
'Älsdjfßüsd' -> 'alsdjfssusd'
Greetings,
🐻
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Normalizing diacritics in (regex) search
by LanX (Saint) on Nov 25, 2025 at 23:26 UTC |