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 ericp
Recipients ericp
Date 2013-03-28.23:50:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364514602.25.0.0249156897876.issue17568@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import re
>>> p = re.compile(r'^(?:\\"|.|)*?"', re.S|re.M)
>>> s = 'sub foo {\n\tprint "\n\t\tbar\n\t\t";\n}\n'
>>> m = p.findall(s)

Python doesn't return.

Dropping the last "|" in the pattern fixes this.

Regex engines in Perl, PHP, JS, and Ruby all handle
this regex.  Ref Komodo bug http://bugs.activestate.com/show_bug.cgi?id=98268
History
Date User Action Args
2013-03-28 23:50:02ericpsetrecipients: + ericp
2013-03-28 23:50:02ericpsetmessageid: <1364514602.25.0.0249156897876.issue17568@psf.upfronthosting.co.za>
2013-03-28 23:50:02ericplinkissue17568 messages
2013-03-28 23:50:01ericpcreate