title: PHP glob pattern issue
body: <p>I am trying to get certain files in my directory by using glob. </p>
  
  <p>My pattern is like</p>
  
  <pre><code>foreach(glob($root . "../test/te[0-9]{2}.xml") as $filename){
    echo $filename;
  }
  </code></pre>
  
  <p>The files are</p>
  
  <pre><code>0051_001.xml
  0071_001_as01.xml
  0485_001_te01.xml
  0485_001_te02.xml
  0485_001_teh03.xml
  </code></pre>
  
  <p>It outputs nothing. </p>
  
  <p>I only want <code>teh01</code> to <code>te03.xml</code> but not the rest. I am not sure what's wrong with my patter. Can someone help me about it? Thanks so much!</p>