Currently search commands have the RegularExpression validator which checks whether or not the value is a valid regular expression. This is useful for enforcing that the value that is provide is a valid regex.
It would also be nice to have a validator which is initialized with a regex that it uses to validate the value. For example you can provide a regex for an SSN.
Currently search commands have the RegularExpression validator which checks whether or not the value is a valid regular expression. This is useful for enforcing that the value that is provide is a valid regex.
It would also be nice to have a validator which is initialized with a regex that it uses to validate the value. For example you can provide a regex for an SSN.