Validates a value against a pattern.
value must be a string or not supplied. pattern must be a string or not supplied.
value
pattern
If either are not supplied, the result is valid.
Type name for the validation context.
Optional
Value to validate.
Regex pattern to validate against.
Validation results for the pattern.
Validates a value against a pattern.
valuemust be a string or not supplied.patternmust be a string or not supplied.If either are not supplied, the result is valid.