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
Multiple optional parameters #55
Comments
To follow up, nesting the square brackets is the solution. i.e. |
@nikic I think this should be mentioned in docs. |
Yes it really should, i came here from Google. |
me too :) |
I've added an example to the README: 79843dc |
@nikic I'm using Slim framework,
Could you please help to solve this issue, suggest me a solution how to use fastRoute in slim. |
Thanks for implementing the support of optional parameters.
How does multiple optional work? e.g.
/news[/{year}][/{month}]
gives:Am I using the wrong syntax?
The text was updated successfully, but these errors were encountered: