Matthew Barnett added the comment:

The support for locales in the re module is limited to those with 1 byte per 
character, and only for a few properties (those provided by the underlying C 
library), so maybe it could do the following:

If the LOCALE flag is set, then read the current locale and build a table of 
its properties.

Let the compiled pattern refer to the property table.

When matching, use the property table referred to by the pattern.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to