troch / route-node

A package to create a tree of named routes
MIT License
20 stars 15 forks source link

Treat repeating slashes as pathless paths #13

Closed dgieselaar closed 7 years ago

dgieselaar commented 7 years ago

As discussed in https://github.com/router5/router5/issues/200, this PR implements support for repeating slashes in paths as a pseudo-implementation of pathless paths. Two changes were made:

troch commented 7 years ago

Thanks for the PR, I'll review it shortly

troch commented 7 years ago

I like your solution to track what was just consumed, it makes it safe 👍