Create a validator that checks if the string matches a regular expression.
A validator that checks if the string matches the regular expression.
The regular expression to match against.
The error message to use if the string does not match the regular expression.
Generated using TypeDoc
Create a validator that checks if the string matches a regular expression.
Returns
A validator that checks if the string matches the regular expression.