mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
582 B
582 B
Regex
Regex(string $regex)
Validates whether the input matches a defined regular expression.
v::regex('/[a-z]/')->validate('a'); // true
Message template for this validator includes {{regex}}.
Categorization
- Strings
Changelog
| Version | Description |
|---|---|
| 0.3.9 | Created |
See also: