more ergonomic lang additions
leeoniya opened this issue · 2 comments
leeoniya commented
likely 90% of the time, there's only a need to redefine the upper/lower letters, which should not require tweaking/understanding all regexps. something like {upper: "A-ZÆØÅ", lower: "a-zæøå"}
should be sufficient. even {chars: "a-zæøå"}
could work since we can internally .toUpperCase()
and .toLowerCase()
these.
c6p commented
Thank you for your work.
I think using toLocaleUpperCase()
and toLocaleLowerCase()
may be better with a locale option. Otherwise, Turkish dotless ı
does not change case correctly.
leeoniya commented
ah sorry, i missed this comment. reopening for now.