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 mrabarnett
Recipients effbot, glchapman, mrabarnett
Date 2009-03-06.03:11:24
SpamBayes Score 0.00076152
Marked as misclassified No
Message-id <>
As part of issue #2636 group references now work in lookbehinds.

However, your example:


will fail but:


will succeed.

Why? Well, in lookbehinds it searches backwards. In the first regex it
sees the group reference before the capture, whereas in the second it
sees the group reference after the capture. (Hope that's clear! :-))
Date User Action Args
2009-03-06 03:11:29mrabarnettsetrecipients: + mrabarnett, effbot, glchapman
2009-03-06 03:11:28mrabarnettsetmessageid: <>
2009-03-06 03:11:25mrabarnettlinkissue814253 messages
2009-03-06 03:11:24mrabarnettcreate