mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
541 B
541 B
Regex
Regex(string $regex)
Evaluates a regex on the input and validates if matches
v::regex('/[a-z]/')->validate('a'); // true
Message template for this validator includes {{regex}}
Changelog
Version | Description |
---|---|
0.3.9 | Created |
See also: