Skip to content

Commit f0b3b85

Browse files
committed
Version added and clarifications
1 parent e4a0e2f commit f0b3b85

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reference/constraints/Email.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@ Options
9191
-------
9292

9393
strict
94-
~~~~~~~
94+
~~~~~~
95+
.. versionadded:: 2.5
96+
The ``strict`` option was introduced in Symfony 2.5.
9597

9698
**type**: ``boolean`` **default**: ``false``
9799

98-
Will validate the email against a simple RegularExpression.
100+
When false, the email will be validated against a simple RegularExpression.
99101
If true, then the `EmailValidator <https://packagist.org/packages/egulias/email-validator>`_ library
100102
is required to perform an RFC compilant validation.
101103

0 commit comments

Comments
 (0)