diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index 7d3dc1b488..0a7f11d835 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -1428,8 +1428,7 @@ the captured substrings are "white queen" and "queen", and are numbered 1 and 2. The maximum number of captured substrings - is 99, and the maximum number of all subpatterns, - both capturing and non-capturing, is 200. + is 65535. As a convenient shorthand, if any option settings are @@ -2058,7 +2057,11 @@ linkend="reference.pcre.pattern.modifiers">PCRE_EXTENDED option) and to divide it into three parts for ease of discussion: - ( \( )? [^()]+ (?(1) \) ) + + + The first part matches an optional opening parenthesis, and