Ticket #13341: 13341-update.diff
File 13341-update.diff, 736 bytes (added by , 15 years ago) |
---|
-
docs/ref/validators.txt
59 59 ``RegexValidator`` 60 60 ------------------ 61 61 62 .. class:: RegexValidator(regex =None, message=None, code=None)62 .. class:: RegexValidator(regex, message=None, code=None) 63 63 64 .. attribute:: regex =None64 .. attribute:: regex 65 65 66 66 The regular expression pattern to search for the provided ``value``. Raises a 67 ``ValidationError`` with ``message`` and ``code`` if no match is found. If 68 no regex is specified, an empty string is used. 67 ``ValidationError`` with ``message`` and ``code`` if no match is found. 69 68 70 69 .. attribute:: message=None 71 70