Skip to content

Commit f6d7e69

Browse files
committed
Tweaks
1 parent 7fc8dd6 commit f6d7e69

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

reference/constraints/Email.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,13 @@ Parameter Description
130130

131131
**type**: ``string`` **default**: (see below)
132132

133-
This option defines the pattern used to validate the email
134-
address. Valid values are:
135-
136-
* ``loose`` uses a simple regular expression (just
137-
checks that at least one ``@`` character is present, etc.). This validation is
138-
very simple and it's recommended to use one of the other modes instead;
139-
* ``html5`` uses the same regular expression
140-
as the `HTML5 email input element`_, making the backend validation consistent
141-
with the one provided by browsers;
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;
142140
* ``strict`` uses the `egulias/email-validator`_ library (which you must
143141
install separately) for validation according to `RFC 5322`_.
144142

0 commit comments

Comments
 (0)