preg match fixing