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 hardkrash
Recipients ezio.melotti, hardkrash, mrabarnett
Date 2014-02-19.01:04:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392771842.8.0.300525728381.issue20678@psf.upfronthosting.co.za>
In-reply-to
Content
The RE compiler will not error out, with a back reference in there...
It treats the {\1} as a literal {\1} in the string.

In [180]: re.search("(\d) fo.{\1}", '3 foo{\1}').group(0)
Out[180]: '3 foo{\x01}'
History
Date User Action Args
2014-02-19 01:04:02hardkrashsetrecipients: + hardkrash, ezio.melotti, mrabarnett
2014-02-19 01:04:02hardkrashsetmessageid: <1392771842.8.0.300525728381.issue20678@psf.upfronthosting.co.za>
2014-02-19 01:04:02hardkrashlinkissue20678 messages
2014-02-19 01:04:02hardkrashcreate