Closed ikhoon closed 4 months ago
Job name | Status | Build Scan® |
---|
In general, what do you think of always using the
P\\d
pattern forREGEX
case so that underscored variable names are also supported?
Agreed. I think we are on the same page. Addressed at 16df88b
(#5729)
OOps we should fix this test:
HttpJsonTranscodingTest > conflictingParamNamesReturnsCorrectly() FAILED
org.opentest4j.AssertionFailedError:
expected: 200
but was: 404
@ikhoon 👍 👍 👍
Motivation:
PR #5679 allows groups name in a regex path pattern to start with
@
. However, group names of a regular expression must start with a letter. https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#groupnameModifications:
p\d
as a group name forPathMappingType.REGEX
Result:
Fix a regression caused by #5679