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
If handed a regex in a string matcher, but no example value, Pact will generate an example using a corresponding library. If a dot in a regular expression (any character) is used it may result in a newline being included in the generated example value. However, Pact will then complain that the example value does not match the regular expression. Maybe there is a flag missing?
Example: /.{4,4}/ generates an example value of
Ạ湎
樨
which does match the regex, but Pact still throws the exception.
The text was updated successfully, but these errors were encountered:
If handed a regex in a string matcher, but no example value, Pact will generate an example using a corresponding library. If a dot in a regular expression (any character) is used it may result in a newline being included in the generated example value. However, Pact will then complain that the example value does not match the regular expression. Maybe there is a flag missing?
Example:
/.{4,4}/
generates an example value ofwhich does match the regex, but Pact still throws the exception.
The text was updated successfully, but these errors were encountered: