This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author itsadok
Recipients itsadok
Date 2008-01-27.15:59:02
SpamBayes Score 0.04294314
Marked as misclassified No
Message-id <1201449544.57.0.177227713029.issue1946@psf.upfronthosting.co.za>
In-reply-to
Content
import re
re.search(r'a(b[^b]*b|[^c])*cxxx',
'abbcacabbbbcabbbbbbcabbbbbbbbbbbbbbcacabbbbbbbbbbbbbbcabbbbcac')

perl seems to handle this just fine.

(The original problem was trying to translate some html to text:
re.sub(r'<p(?:"[^"]*"|[^>])*>(.*?)</p>', r'\1\n')

This hanged on several files. Changing [^>] to [^">] resolved my
problem, but the general case remains.)

This might be a dupe of http://bugs.python.org/issue1297193
History
Date User Action Args
2008-01-27 15:59:04itsadoksetspambayes_score: 0.0429431 -> 0.04294314
recipients: + itsadok
2008-01-27 15:59:04itsadoksetspambayes_score: 0.0429431 -> 0.0429431
messageid: <1201449544.57.0.177227713029.issue1946@psf.upfronthosting.co.za>
2008-01-27 15:59:03itsadoklinkissue1946 messages
2008-01-27 15:59:02itsadokcreate