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

Inadequate documentation on routing #1061

Closed
smcmurray opened this issue Apr 7, 2015 · 0 comments
Closed

Inadequate documentation on routing #1061

smcmurray opened this issue Apr 7, 2015 · 0 comments

Comments

@smcmurray
Copy link

http://vibed.org/docs#http-routing has almost no information about how to construct a proper pattern for route matching. The sum total is two sentences:

It supports static path matching, variable placeholders and wild-cards. Any matched variable will be available as an entry in the params dictionary.

What are variable placeholders? What are wild-cards?

Can I match "/users?:name"?
Can I match "user/:last,:first"?
Can I match regex(r"/user/(\d+)")?
Can I match "/user//dept"?
Can I match "/user/
/dept/*"?

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

No branches or pull requests

1 participant