Message226878
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. |
|
Date |
User |
Action |
Args |
2014-09-14 16:59:32 | mrabarnett | set | recipients:
+ mrabarnett, pitrou, ezio.melotti, serhiy.storchaka |
2014-09-14 16:59:32 | mrabarnett | set | messageid: <1410713972.85.0.480887475953.issue22410@psf.upfronthosting.co.za> |
2014-09-14 16:59:32 | mrabarnett | link | issue22410 messages |
2014-09-14 16:59:32 | mrabarnett | create | |
|