From 3122ce3e5d9c235619f44c6f32e5636a40b6f0be Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 29 Oct 2010 06:17:38 +0000 Subject: (?:...) is a non-capturing, but still grouping construct. --- Doc/library/re.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 206f4d9..102cbaa 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. -- cgit v0.12