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 akuchling, amaury.forgeotdarc, jimjjewett, mark, mrabarnett, pitrou, rsc, timehorse
Date 2008-09-24.14:28:02
SpamBayes Score 1.91147e-07
Marked as misclassified No
Message-id <>
Comparing item 2 and item 3, I think that item 3 is the Pythonic choice
and item 2 is a bad idea.

Item 4: back-references in the pattern are like \1 and (?P=name), not
\g<1> or \g<name>, and in the replacement string are like \g<1> and
\g<name>, not \1 (or  (?P=name)). I'd like to suggest that
back-references in the pattern also include \g<1> and \g<name> and
\g<-1> for relative back-references. Interestingly, Perl names groups
with (?<name>...) whereas Python uses (?P<name>...). A permissible
Date User Action Args
2008-09-24 14:28:04mrabarnettsetrecipients: + mrabarnett, akuchling, jimjjewett, amaury.forgeotdarc, pitrou, rsc, timehorse, mark
2008-09-24 14:28:03mrabarnettsetmessageid: <>
2008-09-24 14:28:03mrabarnettlinkissue2636 messages
2008-09-24 14:28:02mrabarnettcreate