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-02.22:51:05
SpamBayes Score 0.0023812153
Marked as misclassified No
Message-id <1222987866.85.0.890590586266.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
I've extended the group referencing. It now has:

Forward group references

    (\2two|(one))+

\g-type group references

    (n is name or number)
    \g<n> (Python re replacement string)
    \g{n} (Perl)
    \g'n' (Perl)
    \g"n" (because ' and " are interchangeable)
    \gn   (n is single digit) (Perl)

    (n is number)
    \g<+n>
    \g<-n>
    \g{+n} (Perl)
    \g{-n} (Perl)

\k-type group references

    (n is group name)
    \k<n> (Perl)
    \k{n} (Perl)
    \k'n' (Perl)
    \k"n" (because ' and " are interchangeable)
History
Date User Action Args
2008-10-02 22:51:06mrabarnettsetrecipients: + mrabarnett, akuchling, georg.brandl, jimjjewett, amaury.forgeotdarc, pitrou, rsc, timehorse, mark
2008-10-02 22:51:06mrabarnettsetmessageid: <1222987866.85.0.890590586266.issue2636@psf.upfronthosting.co.za>
2008-10-02 22:51:06mrabarnettlinkissue2636 messages
2008-10-02 22:51:06mrabarnettcreate