Fixed regexp in php 5.5