NetefxValidatorRuleREGEXP::__construct
Check if the given expression matches
Signature
public function __construct(string
$field,
[string
$errorMsg = NULL,
[string
$errorMsgType = 'error',
[string
$expression = NULL]]] )
Parameters
$field
— string- name of the field
$errorMsg
— string- the message to be displayed
$errorMsgType
— string- the css class added to the field on validation error
$expression
— string