Message91437
First, many thanks for this contribution; it's great, that the re
module gets updated in that comprehensive way!
I'd like to report some issue with the current version
(issue2636-20090804.zip).
Using an empty string as the search pattern ends up consuming system
resources and the function doesn't return anything nor raise an
exception or crash (within several minutes I tried).
The current re engine simply returns the empty matches on all character
boundaries in this case.
I use win XPh SP3, the behaviour is the same on python 2.5.4 and 2.6.2:
It should be reproducible with the following simple code:
>>> import re
>>> import regex
>>> re.findall("", "abcde")
['', '', '', '', '', '']
>>> regex.findall("", "abcde")
_
regards
vbr |
|
Date |
User |
Action |
Args |
2009-08-10 08:54:57 | vbr | set | recipients:
+ vbr, loewis, akuchling, doerwalter, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, pitrou, nneonneo, rsc, timehorse, mark, ezio.melotti, mrabarnett, jaylogan, akitada, moreati |
2009-08-10 08:54:55 | vbr | set | messageid: <1249894495.78.0.272898787331.issue2636@psf.upfronthosting.co.za> |
2009-08-10 08:54:54 | vbr | link | issue2636 messages |
2009-08-10 08:54:53 | vbr | create | |
|