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 -- http://mail.python.org/mailman/listinfo/python-list