other cases are not catching exceptions. And preg_match is not throwing exceptions anyway