mirror of https://github.com/python/cpython
#4408: document regex.groups.
This commit is contained in:
parent
26576801a6
commit
b46f0d788c
|
@ -750,6 +750,11 @@ attributes:
|
|||
were provided.
|
||||
|
||||
|
||||
.. attribute:: RegexObject.groups
|
||||
|
||||
The number of capturing groups in the pattern.
|
||||
|
||||
|
||||
.. attribute:: RegexObject.groupindex
|
||||
|
||||
A dictionary mapping any symbolic group names defined by ``(?P<id>)`` to group
|
||||
|
|
Loading…
Reference in New Issue