title: regex + selecting file endings
body: <p>here is my <a href="https://regex101.com/r/qL9sR9/1" rel="nofollow">regex</a></p>
  
  <p>I am trying to capture the files *08.tgz, *09.tgz, and *01.tgz</p>
  
  <p>And this is what I have. but his also captures *10.tgz, due to the <code>09</code></p>
  
  <p><code>.*\/*[09|8|1].tgz</code></p>
  
  <p>I know I can do <code>.*\/*[9|8|1].tgz</code> and this will only capture *08.tgz, *09.tgz, and *01.tgz, but what I want to understand is why does the 0 captre the 10.tgz file??</p>
  
  <p>data</p>
  
  <pre><code>./backup_public_html_20160308.tgz
  ./backup_public_html_20160301.tgz
  ./backup_public_html_20160302.tgz
  ./backup_public_html_20160306.tgz
  ./backup_public_html_20160304.tgz
  ./backup_public_html_20160303.tgz
  ./backup_public_html_20160307.tgz
  ./backup_public_html_20160305.tgz
  ./backup_public_html_20160309.tgz
  ./backup_public_html_20160310.tgz
  </code></pre>