Revert throwing exceptions on preg_* failures