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

Raw url with slashes. #109

Open
ddv88 opened this issue Sep 26, 2017 · 2 comments
Open

Raw url with slashes. #109

ddv88 opened this issue Sep 26, 2017 · 2 comments

Comments

@ddv88
Copy link

ddv88 commented Sep 26, 2017

Why there is no pattern to match dynamic paths?
Something like this:
https://website.com/search/:a-lot-of-filters
to match all variants of url
https://website.com/search/filter-1/filter-2/filter-8/filter-n.
I want to parse this string by myself with parse_url, without using patterns after search.
In symfony i can do the following:
(new RouteCollection)->add("search", new Route("/search/{any}", ["controller" => AppBundle:Default:search"], ["any" => ".+"]));

@ddv88 ddv88 changed the title Match anything with slashes. Match everything with slashes. Sep 27, 2017
@ddv88 ddv88 changed the title Match everything with slashes. Raw url with slashes. Sep 27, 2017
@c9s
Copy link
Owner

c9s commented Mar 28, 2023

I think this is supported

@c9s
Copy link
Owner

c9s commented Mar 28, 2023

you can use [^/] to catch it ?

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

2 participants