mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Update maximum number of capturing groups
Also remove limit on non-capturing groups, which no longer exists. Also applies a formatting patch by anonymous. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332866 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
82a945abd2
commit
396e76d002
1 changed files with 6 additions and 3 deletions
|
@ -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.
|
||||
</para>
|
||||
<para>
|
||||
As a convenient shorthand, if any option settings are
|
||||
|
@ -2058,7 +2057,11 @@
|
|||
linkend="reference.pcre.pattern.modifiers">PCRE_EXTENDED</link>
|
||||
option) and to divide it into three parts for ease of discussion:
|
||||
|
||||
<literal>( \( )? [^()]+ (?(1) \) )</literal>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
( \( )? [^()]+ (?(1) \) )
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
The first part matches an optional opening parenthesis, and
|
||||
|
|
Loading…
Reference in a new issue