diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index b0cc2d721d..b0092132d2 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -1279,10 +1279,10 @@ - It is possible to name the subpattern with - (?P<name>pattern) since PHP 4.3.3. Array with - matches will contain the match indexed by the string alongside the match - indexed by a number, then. + As of PHP 4.3.3, it is possible to name a subpattern using the syntax + (?P<name>pattern). This subpattern will then + be indexed in the matches array by its normal numeric position and + also by name.