diff options
Diffstat (limited to 'django/core/validators.py')
| -rw-r--r-- | django/core/validators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/validators.py b/django/core/validators.py index 11a3d8e69f..ea18685fdb 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -54,8 +54,8 @@ class RegexValidator(object): def __call__(self, value): """ - Validates that the input matches the regular expression - if inverse_match is False, otherwise raises ValidationError. + Validate that the input contains a match for the regular expression + if inverse_match is False, otherwise raise ValidationError. """ if not (self.inverse_match is not bool(self.regex.search( force_text(value)))): |
