Fix regexify on PHP 5.3