regex
The regular expression pattern to search for the provided value
, or a pre-compiled regular expression. By default, raises a ValidationError
with message
and code
if a match is not found. That standard behavior can be reversed by setting inverse_match
to True
, in which case the ValidationError
is raised when a match is found. By default, matches any string (including an empty string).
Please login to continue.