Improvement for backwards compatibility

?P should be used to speficy a subpattern, is recommended for backwards compatibility as can be seen on official documentation http://www.php.net/manual/pt_BR/function.preg-match.php.
I've spent some time to figure it out...