Fixed bug ZF-12527

* The namespace regular expression was not correct.
* http://framework.zend.com/issues/browse/ZF-12527