mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
1eb5b9d3c5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
606 B
606 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: