http://qs1969.pair.com?node_id=735818


in reply to Modern best practices for multilingual regexp alphabetical character matching?

There are few best practices, which might or might not answer your question:

(Disclaimer: I assume you deal with human language. For file formats or other artificial stuff it may very well be appropriate to do things that I recommended against above).