commit | b46f0d788cc288238c7ef8064553e5231e131879 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Dec 05 07:49:49 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Dec 05 07:49:49 2008 +0000 |
tree | cd844e3052a4da40f6584c3c8c9f847c44e16ad0 | |
parent | 26576801a683fba28e66fca4759fdc327e87ea3e [diff] [blame] |
#4408: document regex.groups.
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index c9466af..916feca 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst
@@ -750,6 +750,11 @@ 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