RegExp Class Reference

Detailed Description

RegExp validates against the given regular expression.

Configuration example:

// integer or empty
ingo herwig

Definition at line 27 of file RegExp.php.

+ Inheritance diagram for RegExp:

Public Member Functions

 validate ($value, $options=null, $context=null)

Member Function Documentation

◆ validate()

validate (   $value,
  $options = null,
  $context = null 
See also
ValidateType::validate $options is an associative array with key 'pattern'

Implements ValidateType.

Definition at line 33 of file RegExp.php.