On 20 March 2017 at 15:57, 'Johannes Rudolph' via Akka User List <[email protected]> wrote:
> The only place where it would matter is if you complete a route from a place > where not the whole path is expected to be matched, i.e. there's still > something left in `ctx.unmatchedPath`. Is that what you are doing? Yes, you are correct, I've played around with it some more and it's only an issue if there is a trailing end to the path that includes the last matched segment as a prefix and you don't add a pathEndOrSingleSlash. However I think there is still the confusing "foofoo/bar" case that I mentioned in another mail when matched against "foo" and "bar". The "seg" PathMatcher conditional I posted earlier seems to work fine and is "fail fast" which makes dealing with deep hierarchies a bit easier, and possibly faster in the error case although I haven't tested that. I think it would be a simple addition to make to the PathMatcher DSL but that's not my call :-) -- Alan Burlison -- -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
