Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 323 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 323 Bytes

yii2-regex-validator

Validate regular expressions with Yii2

This validator validates if a given regular expression is a valid regular expression. It does this by trying to match a subject and catching any exceptions.

It does not (yet) support client side validation since Javascript and PHP have different RE syntaxes.