title: Directory.GetFiles() searchpattern
body: <p>I have this basic code</p>
  
  <pre><code>Directory.GetFiles(filepath, "*.OUT")
  </code></pre>
  
  <p>In the filepath is a file named <code>Filename.OUT</code></p>
  
  <p>The above code finds that file fine.</p>
  
  <p>Now, I rename the file by appending a UniqueID so that the file doesn't get picked up again.</p>
  
  <p><code>Filename.OUT6F9619FF-8B86-D011-B42D-00C04FC964FF</code></p>
  
  <p>However, the file is STILL getting picked up by <code>Directory.GetFiles()</code>!</p>
  
  <p>So, is the searchpattern (<code>*.OUT</code>) a regex pattern? If so, this makes sense. </p>
  
  <p>The info on <a href="http://msdn.microsoft.com/en-us/library/wz42302f.aspx" rel="nofollow">MSDN</a> doesn't seem to imply that it is. If not, is there a pattern I can use so that it doesn't get picked up?</p>