[Python-checkins] r85914 - python/branches/py3k/Doc/library/re.rst

georg.brandl python-checkins at python.org
Fri Oct 29 08:17:38 CEST 2010


Author: georg.brandl
Date: Fri Oct 29 08:17:38 2010
New Revision: 85914

Log:
(?:...) is a non-capturing, but still grouping construct.

Modified:
   python/branches/py3k/Doc/library/re.rst

Modified: python/branches/py3k/Doc/library/re.rst
==============================================================================
--- python/branches/py3k/Doc/library/re.rst	(original)
+++ python/branches/py3k/Doc/library/re.rst	Fri Oct 29 08:17:38 2010
@@ -229,7 +229,7 @@
    undefined.
 
 ``(?:...)``
-   A non-grouping version of regular parentheses. Matches whatever regular
+   A non-capturing version of regular parentheses.  Matches whatever regular
    expression is inside the parentheses, but the substring matched by the group
    *cannot* be retrieved after performing a match or referenced later in the
    pattern.


More information about the Python-checkins mailing list