HTTP.jl router with constant path elements

I want to register urls of the format:
“base/*”
“base/*/*”
“base/*/*/constant1”
“base/*/*/constant1/*”
“base/*/*/constant2”
“base/*/*/constant2/*”

This seemed to work for a while, but after adding a few more routes it seems the routing is getting mixed-up somehow… What exactly does “*” represent? Is it not strictly a non-/ part of a path?

My main problem was actually a bug on my side, but I did notice that a path like “a/b/c” was matching the route “*/*”. Is this a bug or a feature? Is the idea that we can match a route with “two or more” elements?