title: .gitignore regex for emacs temporary files
body: <p>I'm trying to .gitignore emacs temporary/autosave files.  I'm using...</p>
  
  <pre><code>\.\#.*
  </code></pre>
  
  <p>in my .gitignore.</p>
  
  <p>But <code>git add -A</code> run in a subfolder is still giving me:</p>
  
  <pre><code>#       new file:   .#make_collections.py
  #       new file:   .#norm_collections.py
  #       new file:   make_collections.py
  #       new file:   norm_collections.py
  </code></pre>
  
  <p>even though</p>
  
  <pre><code>\.\#.*
  </code></pre>
  
  <p>is clearly getting the right file names and not the wrong ones when I <a href="http://regexpal.com/">test it with a regex tester</a>.</p>