marketflow / yii2-regex-validator
Yii2 validator for validating PCRE Regular Expressions
Installs: 1 051
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-14 03:20:49 UTC
README
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.