You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a regex expression that uses re.VERBOSE flag for improved readability, and when it is used as a strategy it throws a FailedHealthCheck, however the same regex without the flag and compressed on a single line works fine.
I suspect this is due to from_regex strategy ignoring the re.VERBOSE flag and trying to match the full regex including whitespace and newlines, a quick search in searchstrategy/regex.py shows that the VERBOSE flag is not checked anywhere.
The text was updated successfully, but these errors were encountered:
I have a regex expression that uses re.VERBOSE flag for improved readability, and when it is used as a strategy it throws a
FailedHealthCheck, however the same regex without the flag and compressed on a single line works fine.I suspect this is due to
from_regexstrategy ignoring there.VERBOSE flagand trying to match the full regex including whitespace and newlines, a quick search insearchstrategy/regex.pyshows that the VERBOSE flag is not checked anywhere.The text was updated successfully, but these errors were encountered: