text_lint.operations.assertions.assert_regex.AssertRegex
- class text_lint.operations.assertions.assert_regex.AssertRegex(name: str, regex: str, save: str | None = None, splits: AliasYamlSplit | None = None)[Quellcode]
Bases:
AssertionRegexBaseAssert that the line matches a regular expression.
- apply(state: AssertionState) None[Quellcode]
Apply the AssertRegex assertion logic.