1It is possible to name a subpattern using the syntax (?P<name>pattern).
2This subpattern will then be indexed in the matches array by its normal
3numeric position and also by name. PHP 5.2.2 introduced two alternative
4syntaxes (?<name>pattern) and (?'name'pattern).
5