Sets that a field value must match the specified regular expression.
Namespace: Castle.Components.Validator
Assembly: Castle.Components.Validator (in Castle.Components.Validator.dll)
Version: 1.0.3.0
Syntax
Parameters
- target
- String
The target name (ie, a hint about the controller being validated)
- regExp
- String
The reg exp.
- violationMessage
- String
The violation message.
See Also
IBrowserValidationGenerator Interface
Castle.Components.Validator Namespace