]> granicus.if.org Git - python/commitdiff
(?:...) is a non-capturing, but still grouping construct.
authorGeorg Brandl <georg@python.org>
Fri, 29 Oct 2010 06:17:38 +0000 (06:17 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 29 Oct 2010 06:17:38 +0000 (06:17 +0000)
Doc/library/re.rst

index 206f4d9eced8a907a0fdbef651c786171c62ca30..102cbaa6b22cd48bf3118b2d7066f0677c4fe97d 100644 (file)
@@ -229,7 +229,7 @@ The special characters are:
    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.