Odd behaviour of regexp module

ncf nothingcanfulfill at gmail.com
Wed Jul 13 20:36:02 EDT 2005


To possibly clearify what the others have said, group() is the same as
saying group(0). Group is, if I recall correctly, supposed to return
the n-th subpattern from the regular expression (subpatterns, as you
know, being indicated by parenthises).

Hope that helps :)
-Wes




More information about the Python-list mailing list