Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions reference/constraints/Regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,17 @@ This is the message that will be shown if this validator fails.

You can use the following parameters in this message:

=============== ==============================================================
Parameter Description
=============== ==============================================================
``{{ value }}`` The current (invalid) value
``{{ label }}`` Corresponding form field label
=============== ==============================================================
================= ==============================================================
Parameter Description
================= ==============================================================
``{{ value }}`` The current (invalid) value
``{{ label }}`` Corresponding form field label
``{{ pattern }}`` The expected matching pattern
================= ==============================================================

.. versionadded:: 6.3

The ``{{ pattern }}`` parameter was introduced in 6.3.

``pattern``
~~~~~~~~~~~
Expand Down