title: htaccess how to get rid of optional last directory listing seperator?
body: <p>I am using .htaccess to rewrite my urls, for example</p>
  
  <pre><code>RewriteRule ^jobs/([^/]+)$ jobs.php?job_id=$1  [QSA,L]
  </code></pre>
  
  <p>this works fine for </p>
  
  <pre><code>http://www.xxx.com/jobs/980
  </code></pre>
  
  <p>but this fails </p>
  
  <pre><code>http://www.xxx.com/jobs/980/
  </code></pre>
  
  <p>is there a way to write this in one line without having redo the same pattern line with backslash again...?</p>