Regex
Regex(regex: Union[str, Pattern[str]])
Validates whether the input matches a defined regular expression. You can set string or re.Pattern
(output of re.compile()
) for regex pattern.
Message template for this validator includes {regex}
.
Categorization
- Strings
Changelog
Version | Description |
---|---|
1.0.0 | Created |
See also: