diff options
author | Georg Brandl <georg@python.org> | 2010-10-29 06:17:38 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-29 06:17:38 (GMT) |
commit | 3122ce3e5d9c235619f44c6f32e5636a40b6f0be (patch) | |
tree | 8ce0b6ec04ddc9e2b2229800d39bf204daa5b769 /Doc | |
parent | 5c66bcaa1aa52e20f03dd4c850d647028e30d6ca (diff) | |
download | cpython-3122ce3e5d9c235619f44c6f32e5636a40b6f0be.zip cpython-3122ce3e5d9c235619f44c6f32e5636a40b6f0be.tar.gz cpython-3122ce3e5d9c235619f44c6f32e5636a40b6f0be.tar.bz2 |
(?:...) is a non-capturing, but still grouping construct.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/re.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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. |