title: Django/Python url regex with dash
body: <p>I am trying to create a url with regex settings to allow for all job numbers that are just numeric values, have dashes or that start/contain a letter. </p>
  
  <p>My url originally was:</p>
  
  <pre><code>url(r'^jobs/(?P&lt;job_number&gt;\w+)/$', JobDashboardView.as_view(), name='job')
  </code></pre>
  
  <p>I attempted to do the following for dashes:</p>
  
  <pre><code>url(r'^jobs/(?P&lt;job_number&gt;\w+(-[a-zA-Z0-9]+))/$', JobDashboardView.as_view(), name='job')
  </code></pre>
  
  <p>But it did not work. Any suggestions and if this is even possible?</p>
  
  <p>Clarification of the example job numbers accepted:</p>
  
  <p>-13000</p>
  
  <p>-13000-W1</p>
  
  <p>-13000W1</p>
  
  <p>-A13000</p>