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, georg.brandl, jimjjewett, mark, mrabarnett, pitrou, rsc, timehorse
Date 2008-10-17.12:28:06
SpamBayes Score 1.2703787e-05
Marked as misclassified No
Message-id <1224246487.72.0.809524526752.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
Further to msg74203, I can see no reason why we can't allow duplicate
capture group names if the groups are on different branches are are thus
mutually exclusive. For example:

    (?P<name>a)|(?P<name>b)

Apart from this I think that duplicate names should continue to raise an
exception.
History
Date User Action Args
2008-10-17 12:28:08mrabarnettsetrecipients: + mrabarnett, akuchling, georg.brandl, jimjjewett, amaury.forgeotdarc, pitrou, rsc, timehorse, mark
2008-10-17 12:28:07mrabarnettsetmessageid: <1224246487.72.0.809524526752.issue2636@psf.upfronthosting.co.za>
2008-10-17 12:28:06mrabarnettlinkissue2636 messages
2008-10-17 12:28:06mrabarnettcreate