route-parser icon indicating copy to clipboard operation
route-parser copied to clipboard

An isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.

Results 18 route-parser issues
Sort by recently updated
recently updated
newest added

> Other routing libraries have issues with parsing one of `/foo(/:bar)` or `/foo(/:bar)` Those are the exact same string.

While query parameters are related to the route as a whole, matrix variables can be associated to a particular segment of the route, which could have a greater contextual meaning...

Routes are matched correctly only if query parameters are specified in the right order. ``` var route = new Route('/?a=:a&b:b'); var result = route.match('/?b=1&a=2'); assert(result); ``` Would it possible to...

```javascript const a = new RouteParser('*/test') a.match('hi/test') ``` causes ``` Invalid regular expression: /^*/test(?=\?|$)/: Nothing to repeat ``` Obviously a name needs to be attached to the splat, but it...

I'm using `route-parser` in my react app, and it's working great, thank you! And my local dev server is serving 2 single-page apps using [connect-history-api-fallback](https://github.com/bripkens/connect-history-api-fallback) to determine which one to...

Could you please support Bower? I would like to use this library with Google Polymer, and Polymer uses Bower rather than NPM.

Related module: https://github.com/nodules/susanin

I'm having trouble with url's that have arrays as parameters. ``` js /users?userIds=1&userIds=2 ``` Is this form supported / is there any intention of adding it in the future?