title: How to ignore files starting with numbers in Git?
body: <p>In a certain folder, I have image files named <code>foo.jpg</code>, <code>bar.png</code>, etc. I want to keep them in version control, except those named like <code>1_baz.png</code>, <code>2_zaz.jpg</code>, etc (since they are actually generated).</p>
  
  <p>What's the entry should I add to <code>.gitignore</code>? Regex such as <code>[0-9]+.*</code> does not seem to work.</p>