title: Laravel 4 Routing with Arbitrary Number of URL Segments
body: <p>I have an L3 application I'm trying to port to L4. In the L3 version, one of my routes is</p>
  
  <pre><code>Route::get('/(:any)/(:all?)', etc...
  </code></pre>
  
  <p>This allowed me to handle an arbitrary number of URL segments, for example:</p>
  
  <pre><code>/contact_page
  /store_category
  /store_category/shirts_category
  /store_category/shirts_category/specific_shirt_page
  /an/arbitrary/number/of/nested/categories
  </code></pre>
  
  <p>But in L4 I cannot figure out how to emulate the functionality of (:all?)</p>
  
  <p>The code below works:</p>
  
  <pre><code>Route::get('/{arg1?}/{arg2?}/{arg3?}', function($arg1='home', $arg2, $arg3)
  {
    //do something
  });
  </code></pre>
  
  <p>So I could add a large number of optional arguments (more than I think I would ever need in real world use) but that is not very elegant.</p>
  
  <p>Is there some way in Laravel 4 to define a Route that can respond to an arbitrary number of URL segments?</p>