diff --git a/reference/pcre/pattern.modifiers.xml b/reference/pcre/pattern.modifiers.xml index 4984ef5f8862..a212206cb140 100644 --- a/reference/pcre/pattern.modifiers.xml +++ b/reference/pcre/pattern.modifiers.xml @@ -174,6 +174,18 @@ + + n (PCRE_NO_AUTO_CAPTURE) + + + This modifier makes simple (xyz) groups non-capturing. + Only named groups like (?<name>xyz) are capturing. + This only affects which groups are capturing, it is still possible to + use numbered subpattern references, and the matches array will still + contain numbered results. + + +