#4408: document regex.groups.

This commit is contained in:
Georg Brandl 2008-12-05 07:49:49 +00:00
parent 26576801a6
commit b46f0d788c
1 changed files with 5 additions and 0 deletions

View File

@ -750,6 +750,11 @@ attributes:
were provided. were provided.
.. attribute:: RegexObject.groups
The number of capturing groups in the pattern.
.. attribute:: RegexObject.groupindex .. attribute:: RegexObject.groupindex
A dictionary mapping any symbolic group names defined by ``(?P<id>)`` to group A dictionary mapping any symbolic group names defined by ``(?P<id>)`` to group