diff options
Diffstat (limited to 'docs/ref/validators.txt')
| -rw-r--r-- | docs/ref/validators.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index 417df517a4..eeac982bdc 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -85,8 +85,8 @@ to, or in lieu of custom ``field.clean()`` methods. .. attribute:: regex - The regular expression pattern to search for the provided ``value``, - or a pre-compiled regular expression. By default, raises a + The regular expression pattern to search for within the provided + ``value``, or a pre-compiled regular expression. By default, raises a :exc:`~django.core.exceptions.ValidationError` with :attr:`message` and :attr:`code` if a match is not found. That standard behavior can be reversed by setting :attr:`inverse_match` to ``True``, in which case |
