(?:...) is a non-capturing, but still grouping construct.
This commit is contained in:
parent
5c66bcaa1a
commit
3122ce3e5d
|
@ -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…
Reference in New Issue