Message99132
I'd like to add another issue I encountered with the latest version of regex - issue2636-20100204.zip
It seems, that there is an error in handling some quantifiers in python 2.5
on
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32
I get e.g.:
>>> regex.findall(ur"q*", u"qqwe")
Traceback (most recent call last):
File "<pyshell#35>", line 1, in <module>
regex.findall(ur"q*", u"qqwe")
File "C:\Python25\lib\regex.py", line 213, in findall
return _compile(pattern, flags).findall(string, overlapped=overlapped)
File "C:\Python25\lib\regex.py", line 633, in _compile
p = _regex.compile(pattern, info.global_flags | info.local_flags, code, info.group_index, index_group)
RuntimeError: invalid RE code
There is the same error for other possibly "infinite" quantifiers like "q+", "q{0,}" etc. with their non-greedy and possesive variants.
On python 2.6 and 3.1 all these patterns works without errors.
vbr |
|
Date |
User |
Action |
Args |
2010-02-09 17:38:05 | vbr | set | recipients:
+ vbr, loewis, akuchling, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, pitrou, nneonneo, rsc, timehorse, mark, ezio.melotti, mrabarnett, jaylogan, akitada, moreati, r.david.murray |
2010-02-09 17:38:04 | vbr | set | messageid: <1265737084.71.0.952600205268.issue2636@psf.upfronthosting.co.za> |
2010-02-09 17:38:03 | vbr | link | issue2636 messages |
2010-02-09 17:38:02 | vbr | create | |
|