marketflow/yii2-regex-validator

Yii2 validator for validating PCRE Regular Expressions

v0.0.3 2017-02-09 08:30 UTC

This package is auto-updated.

Last update: 2024-11-14 03:07:58 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.