[issue3665] Support \u and \U escapes in regexes

Atsuo Ishimoto report at bugs.python.org
Sun Jul 11 07:09:52 CEST 2010


Atsuo Ishimoto <ishimoto at gembook.org> added the comment:

Here's an updated patch for py3k branch. 
As per Georg's comment, I added to check codepoint in the character 
ranges, conversion to the surrogate pairs. I also added check to raise 
exception if codepoint > 0x10ffff.
I with to English speakers to fix error messages in the patch.

----------
nosy: +ishimoto
Added file: http://bugs.python.org/file17939/3665.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3665>
_______________________________________


More information about the Python-bugs-list mailing list