Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 378 Bytes

File metadata and controls

21 lines (15 loc) · 378 Bytes

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}}


See also: