Regex pattern
Error message. Variables: #{value} the validated input, #{pattern}
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Error message.
Error message. Variables: #{value} the validated input, #{pattern}
      
    
      
      
    
      
      
    
      
      
    
      Regex pattern
      
    
      
      
    
      Implement this method in subclasses to validate a value.
Implement this method in subclasses to validate a value.
The value to be validated
Either a boolean indicating if validation is successful or an Optional string with a validation error message. If a boolean (false) is returned an error message will be constructed using the formatMessage method.
      
    
      
      
    
      
      
    
      
      
    
      
Validates that values matches a regex pattern
Regex pattern
Error message. Variables: #{value} the validated input, #{pattern}