[issue12749] lib re cannot match non-BMP ranges (all versions, all builds)
Ezio Melotti
report at bugs.python.org
Sun Aug 14 18:06:48 CEST 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
On wide 3.2 it passes too, so the failure is limited to narrow builds (are you sure that it fails on wide builds for you?).
On a narrow 2.7 I get a slightly different error though:
match 1 passed
Traceback (most recent call last):
File "bigrange.py", line 16, in <module>
if re.search("[𝒜-𝒵]", "𝒞", flags):
File "/home/wolf/dev/py/2.7/Lib/re.py", line 142, in search
return _compile(pattern, flags).search(string)
File "/home/wolf/dev/py/2.7/Lib/re.py", line 244, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12749>
_______________________________________
More information about the Python-bugs-list
mailing list