[issue28486] Wrong end index and subgroup for group match

Serhiy Storchaka report at bugs.python.org
Thu Oct 20 06:03:39 EDT 2016


Serhiy Storchaka added the comment:

group(0) returns the whole match. group(1) returns the first captured subgroup.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28486>
_______________________________________


More information about the Python-bugs-list mailing list