mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 07:45:45 +01:00
207 B
207 B
Regex
v::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}}