File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,10 @@ This option defines the pattern used to validate the email address. Valid values
109
109
* ``loose `` uses a simple regular expression (just checks that at least one ``@ ``
110
110
character is present, etc.). This validation is too simple and it's recommended
111
111
to use one of the other modes instead;
112
- * ``html5 `` uses the same regular expression as the `HTML5 email input element `_,
113
- making the backend validation consistent with the one provided by browsers;
112
+ * ``html5 `` uses pretty the same regular expression as the `HTML5 email input element `_,
113
+ but also force the usage of tld.
114
+ * ``allow-no-tld `` uses exactly the same regular expression as the `HTML5 email input element `_,
115
+ making the backend validation consistent with the one provided by browsers.
114
116
* ``strict `` validates the address according to `RFC 5322 `_ using the
115
117
`egulias/email-validator `_ library (which is already installed when using
116
118
:doc: `Symfony Mailer </mailer >`; otherwise, you must install it separately).
You can’t perform that action at this time.
0 commit comments