enum Athena::Validator::Constraints::Email::Mode
Overview
Determines how the email address should be validated.
Defined in:
constraints/email.crEnum Members
-
Loose =
0 -
Validates the email against a simple
::Regexthat allows all values with an@symbol and a.in the host part of the email address. -
HTML5 =
1 -
Validates the email against the HTML5 input pattern.
Instance Method Summary
- #html5?
- #loose?
-
#pattern : ::Regex
Returns the
::Regexpattern forself.