We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a conjecture that checks a value matches a given regular expression pattern.
There is currently support for prefix and suffix matching, but sometimes you need a more complex match.
assert "foo bar baz" == conjecture.matches_regex(r"\bbar\b") assert "FOO BAR BAZ" == conjecture.matches_regex(r"\bbar\b", flags=re.IGNORECASE)
The text was updated successfully, but these errors were encountered:
danielknell
No branches or pull requests
Description
a conjecture that checks a value matches a given regular expression pattern.
Context
There is currently support for prefix and suffix matching, but sometimes you need a more complex match.
Possible implementation
The text was updated successfully, but these errors were encountered: