@@ -130,17 +130,15 @@ Parameter Description
130
130
131
131
**type **: ``string `` **default **: (see below)
132
132
133
- This option is optional and defines the pattern used to validate the email
134
- address. Valid values are:
135
-
136
- * ``loose ``, it uses a simple regular expression to validate the address (it
137
- checks that at least one ``@ `` character is present, etc.). This validation is
138
- too simple and it's recommended to use one of the other modes instead;
139
- * ``html5 ``, it validates email addresses using the same regular expression
140
- as the `HTML5 email input element `_, making the backend validation consistent
141
- with the one provided by browsers;
142
- * ``strict ``, it uses the `egulias/email-validator `_ library (which you must
143
- install separately) to validate the addresses according to the `RFC 5322 `_.
133
+ This option defines the pattern used to validate the email address. Valid values are:
134
+
135
+ * ``loose `` uses a simple regular expression (just checks that at least one ``@ ``
136
+ character is present, etc.). This validation is too simple and it's recommended
137
+ to use one of the other modes instead;
138
+ * ``html5 `` uses the same regular expression as the `HTML5 email input element `_,
139
+ making the backend validation consistent with the one provided by browsers;
140
+ * ``strict `` uses the `egulias/email-validator `_ library (which you must
141
+ install separately) for validation according to `RFC 5322 `_.
144
142
145
143
The default value used by this option is set in the
146
144
:ref: `framework.validation.email_validation_mode <reference-validation-email_validation_mode >`
0 commit comments