title: Regex to match letters, numbers and some specific characters?
body: <p>I'm trying to match a Django URL bit that can contain:</p>
  
  <p><code>_</code>, <code>%</code>, <code>&amp;</code>, <code>+</code>, <code>0-9</code>, <code>a-z</code>, <code>A-Z</code>, <code></code>(space)</p>
  
  <p>How can I do it so it is picked up by Django's URL matcher, in form of a parameter?</p>
  
  <pre><code>(r'^(?P&lt;chararg&gt;\w+)/IT_NEEDS_TO_BE_HERE/(?P&lt;intarg&gt;\d+)', 'dest')
  </code></pre>