-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
component/need-triageNeed maintainers to triageNeed maintainers to triagetype/need-triageNeed maintainers to triageNeed maintainers to triage
Description
Pre-check
- I am sure that all the content I provide is in English.
Search before asking
- I had searched in the issues and found no similar issues.
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
Dubbo 3.3.1
Steps to reproduce this issue
code
`public class RadixTreeTest {
public static void main(String[] args) {
RadixTree<String> tree = new RadixTree<String>();
tree.addPath("/a/*", "abc");
tree.addPath("/ew/reach/update/{ruleId}", "");
tree.addPath("/ew/reach/update/{ruleId}/state", "");
List<RadixTree.Match<String>> ret= tree.match("/ew/reach/update/1222222");
List<RadixTree.Match<String>> ret2= tree.match("/ew/reach/update/1222222/state");
System.out.println("/ew/reach/update/1222222 size="+ret.size());
System.out.println("/ew/reach/update/1222222/state size="+ret2.size());
}
}`
Result :
/ew/reach/update/1222222 size=0
/ew/reach/update/1222222/state size=1
What you expected to happen
/ew/reach/update/1222222 size=1
/ew/reach/update/1222222/state size=1
Anything else
No response
Are you willing to submit a pull request to fix on your own?
- Yes I am willing to submit a pull request on my own!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
component/need-triageNeed maintainers to triageNeed maintainers to triagetype/need-triageNeed maintainers to triageNeed maintainers to triage
Type
Projects
Status
Todo