diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index b51c15b89d..1195f7664a 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -10141,6 +10141,12 @@ for requests that follow a given pattern. Also, you can use regular expressions need to use patterns and not exact values both for your test and your server side tests.
Make sure that regex matches a whole region of a sequence as internally a call to
+Pattern.matches()
+is called. For instance, abc pattern doesn’t match aabc string but .abc does.
+There are several additional known limitations as well.
The following example shows how to use regular expressions to write a request:
| + + | +
+Due to certain limitations of Xeger library that generates string out of
+regex, do not use $ and ^ signs in your regex if you rely on automatic
+generation. Issue 899
+ |
+
| + + | +
+Do not use LocalDate instance as a value for $ like this $(consumer(LocalDate.now())).
+It causes java.lang.StackOverflowError. Use $(consumer(LocalDate.now().toString())) instead.
+Issue 900
+ |
+