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" => ".+"]));
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 urlhttps://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" => ".+"]));