-
Notifications
You must be signed in to change notification settings - Fork 125
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
Cross-segment regex route matching #613
Comments
In nginx for example I can have a location: https://nginx.org/en/docs/http/ngx_http_core_module.html#location |
I don't think regex glob matching is currently implemented |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I know I can have a route defined with regex like
/abcd/:id:.*
, however this doesn't match/abcd/a/b
. Is there a way to do this in Gotham, where.*
is not constrained to a single segment? I can always have a glob matcher/abcd/*
and parse rest of the uri myself, but was wondering if Gotham supports something like this and I have missed it.Ideally I'd like something like:
^/abcd/(.+)\.cgi/*
I'm pretty much extracting a path and passing it to a fCGI script down the line.
Thanks!
The text was updated successfully, but these errors were encountered: