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
https://github.com/spring-cloud/spring-cloud-contract/blob/cd0fffa972cf3065c29ec1b29b13585c30a7345a/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/RegexPatterns.java#L55C45-L55C45
The regex for double values does not consider possible values ("E-", e.g.: 1.0074598709275406E-4) https://github.com/spring-cloud/spring-cloud-contract/blob/cd0fffa972cf3065c29ec1b29b13585c30a7345a/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/RegexPatterns.java#L55C45-L55C45
which causes intermittent exception here
spring-cloud-contract/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/PatternValueDslProperty.java
Line 38 in cd0fffa
with double values produced by the line this.random.nextInt(100) + this.random.nextDouble()
Line 88 in cd0fffa
The text was updated successfully, but these errors were encountered:
I guess we should go with more sophisticated regular expressions like this one
Sorry, something went wrong.
No branches or pull requests
https://github.com/spring-cloud/spring-cloud-contract/blob/cd0fffa972cf3065c29ec1b29b13585c30a7345a/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/RegexPatterns.java#L55C45-L55C45
The regex for double values does not consider possible values ("E-", e.g.: 1.0074598709275406E-4)
https://github.com/spring-cloud/spring-cloud-contract/blob/cd0fffa972cf3065c29ec1b29b13585c30a7345a/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/RegexPatterns.java#L55C45-L55C45
which causes intermittent exception here
spring-cloud-contract/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/PatternValueDslProperty.java
Line 38 in cd0fffa
with double values produced by the line this.random.nextInt(100) + this.random.nextDouble()
spring-cloud-contract/specs/spring-cloud-contract-spec-java/src/main/java/org/springframework/cloud/contract/spec/internal/PatternValueDslProperty.java
Line 88 in cd0fffa
The text was updated successfully, but these errors were encountered: