Class Regex
Validates that a value matches a regular expression.
- ICanBoogie\Validate\Validator\AbstractValidator implements ICanBoogie\Validate\Validator
-
ICanBoogie\Validate\Validator\Regex
Methods summary
public
boolean
|
|
protected
array
|
Methods inherited from ICanBoogie\Validate\Validator\AbstractValidator
Constants summary
string |
PARAM_PATTERN
|
#
'pattern'
|
string |
OPTION_NOT_MATCH
|
#
'not_match'
|
string |
MESSAGE_ARG_PATTERN
|
#
'pattern'
|
boolean |
NOT_MATCH
|
#
true
|
boolean |
MATCH
|
#
false
|
Constants inherited from ICanBoogie\Validate\ValidatorOptions
OPTION_IF,
OPTION_MESSAGE,
OPTION_STOP_ON_ERROR,
OPTION_UNLESS
Constants inherited from ICanBoogie\Validate\Validator
ALIAS,
DEFAULT_MESSAGE,
MESSAGE_ARG_ATTRIBUTE,
MESSAGE_ARG_VALIDATOR,
MESSAGE_ARG_VALUE