Structures_Form_Rule_Base | --Structures_Form_Rule_Regex
[line 29]
The values in {curly braces} will be substituted for values from the substitiution array.
[line 39]
Must be a PCRE.
void __construct( string $regex, [string $errorMessage = null], [array $substitutions = null])
This rule does not require any additional arguments, but may accept two optional arguments.
Overridden in child classes as:
void setRegex( string $regex)
mixed validate( Structures_Form_ElementInterface $element)