mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
(?:...) is a non-capturing, but still grouping construct.
This commit is contained in:
parent
5c66bcaa1a
commit
3122ce3e5d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue