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 serhiy.storchaka
Recipients ezio.melotti, mrabarnett, pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner, yselivanov
Date 2014-09-29.20:15:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412021738.34.0.704578719684.issue22437@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you Antoine for your review.

To avoid discrepancy between re and regex (and other engines), I have committed only a part of dynamic patch, without adding support of backreferences with index over 99. It is unlikely to achieve this limit in hand written regular expression, and in generated regular expression you can use named groups.

I found that backreference syntax is one of most discrepant thing in regular expressions. There are at least 8 different variants (\N, \gN, \g<N>, \g{N}, \k<N>, \k'N', \k{N}, (?P=N)), and \g<N> in Perl have different meaning.
History
Date User Action Args
2014-09-29 20:15:38serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, ezio.melotti, mrabarnett, r.david.murray, python-dev, yselivanov
2014-09-29 20:15:38serhiy.storchakasetmessageid: <1412021738.34.0.704578719684.issue22437@psf.upfronthosting.co.za>
2014-09-29 20:15:38serhiy.storchakalinkissue22437 messages
2014-09-29 20:15:37serhiy.storchakacreate