On 2025-05-14 22:49, Avid Seeker via Bug reports for GNU grep wrote:
are equivalence classes the right tool to approach this?
They're supposed to be, yes ...
I see that they depend on LC_COLLATE, in which case it would be possible to setup a custom locale that matches digraphs.
... though you're venturing into uncharted territory here. Please let us know of any monsters you find.
Is there a way to setup a locale without having to recompile glibc
Yes, use localedef.