From: Georg Brandl Date: Fri, 5 Dec 2008 07:49:49 +0000 (+0000) Subject: #4408: document regex.groups. X-Git-Tag: v2.7a1~2586 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46f0d788cc288238c7ef8064553e5231e131879;p=thirdparty%2FPython%2Fcpython.git #4408: document regex.groups. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index c9466aff0745..916fecaef579 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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)`` to group