title: How to match begin URL with REGEX in Django
body: <p>I'm using this syntax for my API urls:</p>
  
  <pre><code>http://myhost/myapiname/X-Y-Z/web-service-name/
  </code></pre>
  
  <p>In Django urls.py, it looks like this:</p>
  
  <pre><code>url(r'api_s/2-0-0/get_client_profile/$', GetClientProfile.as_detail(), name='get_client_profile'),
  </code></pre>
  
  <p>Now, I'd like to redirect all 1-0-0 urls (deprecated webservices) to a specific view.
  I tried something like <code>url(r'api_t/1-0-0*$', Deprecated.as_list(), name='deprecated')</code> but it can't be catch. I'm not used to REGEX so I'm missing something here. Thanks.</p>