smalltalkhyb opened a new issue, #14778: URL: https://github.com/apache/dubbo/issues/14778
### Pre-check - [X] I am sure that all the content I provide is in English. ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) 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? - [X] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
