Author vbr
Recipients akitada, akuchling, amaury.forgeotdarc, collinwinter, doerwalter, ezio.melotti, georg.brandl, gregory.p.smith, jaylogan, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, rsc, sjmachin, timehorse, vbr
Date 2009-08-10.08:54:53
SpamBayes Score 2.39174e-11
Marked as misclassified No
Message-id <1249894495.78.0.272898787331.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-08-10 08:54:57vbrsetrecipients: + 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:55vbrsetmessageid: <1249894495.78.0.272898787331.issue2636@psf.upfronthosting.co.za>
2009-08-10 08:54:54vbrlinkissue2636 messages
2009-08-10 08:54:53vbrcreate