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.
Optional
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.