more than 100 capturing groups in a regex

skip at pobox.com skip at pobox.com
Thu Oct 27 18:22:39 CEST 2005


    DH> It's a conflict between python's syntax for regex back references
    DH> and octal number literals.  Probably wasn't noticed until way too
    DH> late, and now it will never change.

I suspect it comes from Perl, since Python's regular expression engine tries
pretty hard to be compatible with Perl's, at least for the basics.

Skip



More information about the Python-list mailing list