Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression routes? #20

Closed
unknwon opened this issue Jul 7, 2014 · 4 comments
Closed

Regular expression routes? #20

unknwon opened this issue Jul 7, 2014 · 4 comments
Labels

Comments

@unknwon
Copy link

unknwon commented Jul 7, 2014

Any plan for supporting it?

@vastbinderj
Copy link

+1

@ptlu
Copy link

ptlu commented Jul 7, 2014

I believe this uses a Radix tree implementation and as such will never allow regular expression routes.

@unknwon
Copy link
Author

unknwon commented Jul 7, 2014

Kind of sad, but it's fine!

@julienschmidt
Copy link
Owner

There might be support for matching path segments like [0-9]+ instead of just :id someday, but not in the near future.
But "global" rules (matching the complete path) will never be supported since they don't mix well with the prefix-matching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants