mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
ascii, ipv4 and ipv6 rules added to README.md
This commit is contained in:
parent
e5ae2c9a5f
commit
46ccdf1ace
@ -133,12 +133,15 @@ V::lang('ar');
|
|||||||
* `in` - Performs in_array check on given array values
|
* `in` - Performs in_array check on given array values
|
||||||
* `notIn` - Negation of `in` rule (not in array of values)
|
* `notIn` - Negation of `in` rule (not in array of values)
|
||||||
* `ip` - Valid IP address
|
* `ip` - Valid IP address
|
||||||
|
* `ipv4` - Valid IP v4 address
|
||||||
|
* `ipv6` - Valid IP v6 address
|
||||||
* `email` - Valid email address
|
* `email` - Valid email address
|
||||||
* `emailDNS` - Valid email address with active DNS record
|
* `emailDNS` - Valid email address with active DNS record
|
||||||
* `url` - Valid URL
|
* `url` - Valid URL
|
||||||
* `urlActive` - Valid URL with active DNS record
|
* `urlActive` - Valid URL with active DNS record
|
||||||
* `alpha` - Alphabetic characters only
|
* `alpha` - Alphabetic characters only
|
||||||
* `alphaNum` - Alphabetic and numeric characters only
|
* `alphaNum` - Alphabetic and numeric characters only
|
||||||
|
* `ascii` - ASCII characters only
|
||||||
* `slug` - URL slug characters (a-z, 0-9, -, \_)
|
* `slug` - URL slug characters (a-z, 0-9, -, \_)
|
||||||
* `regex` - Field matches given regex pattern
|
* `regex` - Field matches given regex pattern
|
||||||
* `date` - Field is a valid date
|
* `date` - Field is a valid date
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user