From: Georg Brandl Date: Fri, 29 Oct 2010 06:17:38 +0000 (+0000) Subject: (?:...) is a non-capturing, but still grouping construct. X-Git-Tag: v3.2a4~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3122ce3e5d9c235619f44c6f32e5636a40b6f0be;p=python (?:...) is a non-capturing, but still grouping construct. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 206f4d9ece..102cbaa6b2 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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.