title: mod_rewrite performing unexpectedly
body: <p>I can't figure this one out no matter how many times I google it or think about it. I have a RewriteRule in my .htaccess file: <code>RewriteRule ^/download/([^/\.])/?$ /downloadfile.php?f=$1 [L]</code></p>
  
  <p>When I use this, my page loads fine, but going to the link <code>http://www.example.com/download/file.ext</code>, it pulls a 404 page. However, if I load the page, then change my RewriteRule to <code>RewriteRule ^/download/([^/\])/?$ /downloadfile.php?f=$1 [L]</code> (noting the RegEx change), the link works exactly how I expect it to... Until I reload the page, which results in a 500 error because of a bad regex expression? (I checked my Apache error log, thats how I know it reads as a bad regex) </p>
  
  <p>So, what can I do to make this work? I've tried <code>(.*)</code> and <code>([.*])</code> for regex as well, that didn't work either.. can anyone tell me what I'm doing wrong?</p>