(self, value: Any)
| 29 | self.regex = re.compile(pattern, flags) |
| 30 | |
| 31 | def __call__(self, value: Any) -> None: |
| 32 | if not self.regex.match(value): |
| 33 | raise ValidationError(f"Value '{value}' does not match regex '{self.regex.pattern}'") |
| 34 | |
| 35 | |
| 36 | class MaxLengthValidator(Validator): |
nothing calls this directly
no test coverage detected