Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f0b3b85

Browse filesBrowse files
committed
Version added and clarifications
1 parent e4a0e2f commit f0b3b85
Copy full SHA for f0b3b85

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎reference/constraints/Email.rst

Copy file name to clipboardExpand all lines: reference/constraints/Email.rst
+4-2Lines changed: 4 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.