diff --git a/reference/constraints/Regex.rst b/reference/constraints/Regex.rst index 6f94c5c151e..7ae66428670 100644 --- a/reference/constraints/Regex.rst +++ b/reference/constraints/Regex.rst @@ -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`` ~~~~~~~~~~~