diff --git a/2.1.x/multi/multi_contract-dsl.html b/2.1.x/multi/multi_contract-dsl.html index 20e1212201..a5675ee9fa 100644 --- a/2.1.x/multi/multi_contract-dsl.html +++ b/2.1.x/multi/multi_contract-dsl.html @@ -674,7 +674,7 @@ use in your contracts, as shown in the following example:

protected static final Pattern NON_EMPTY = Pattern.compile(/[\S\s]+/)
 protected static final Pattern NON_BLANK = Pattern.compile(/^\s*\S[\S\s]*/)
 protected static final Pattern ISO8601_WITH_OFFSET = Pattern.
-		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{3})?(Z|[+-][01]\d:[0-5]\d)/)
+		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{1,6})?(Z|[+-][01]\d:[0-5]\d)/)
 
 protected static Pattern anyOf(String... values) {
 	return Pattern.compile(values.collect({ "^$it\$" }).join("|"))
diff --git a/2.1.x/single/spring-cloud-contract.html b/2.1.x/single/spring-cloud-contract.html
index b0e941ad51..db4b02dce1 100644
--- a/2.1.x/single/spring-cloud-contract.html
+++ b/2.1.x/single/spring-cloud-contract.html
@@ -4538,7 +4538,7 @@ use in your contracts, as shown in the following example:

protected static final Pattern NON_EMPTY = Pattern.compile(/[\S\s]+/)
 protected static final Pattern NON_BLANK = Pattern.compile(/^\s*\S[\S\s]*/)
 protected static final Pattern ISO8601_WITH_OFFSET = Pattern.
-		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{3})?(Z|[+-][01]\d:[0-5]\d)/)
+		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{1,6})?(Z|[+-][01]\d:[0-5]\d)/)
 
 protected static Pattern anyOf(String... values) {
 	return Pattern.compile(values.collect({ "^$it\$" }).join("|"))
diff --git a/2.1.x/spring-cloud-contract.xml b/2.1.x/spring-cloud-contract.xml
index d6842df939..49121d0e83 100644
--- a/2.1.x/spring-cloud-contract.xml
+++ b/2.1.x/spring-cloud-contract.xml
@@ -7431,7 +7431,7 @@ protected static final Pattern ANY_TIME = Pattern.
 protected static final Pattern NON_EMPTY = Pattern.compile(/[\S\s]+/)
 protected static final Pattern NON_BLANK = Pattern.compile(/^\s*\S[\S\s]*/)
 protected static final Pattern ISO8601_WITH_OFFSET = Pattern.
-		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{3})?(Z|[+-][01]\d:[0-5]\d)/)
+		compile(/([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\.\d{1,6})?(Z|[+-][01]\d:[0-5]\d)/)
 
 protected static Pattern anyOf(String... values) {
 	return Pattern.compile(values.collect({ "^$it\$" }).join("|"))