doctrine/DoctrineModule — pull request #371 by D-BlindSide (2014-01-22 17:36:16+00:00)
Title: 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...