Removed redundant preg_match