title: Confusion with ant regex at the time of filename selector
body: <p>I am trying to select all jars from the current directory. I am getting confused between:</p>
  
  <ul>
  <li><code>**/*.jar</code></li>
  <li><code>*.jar</code></li>
  </ul>
  
  <p>I assumed <code>*.jar</code> will work the same as <code>**/*.jar</code>. However the following examples are working differently:</p>
  
  <pre><code>&lt;path id="master-classpath-common-lib" &gt;
      &lt;fileset dir="."&gt;
          &lt;include name="**/*.jar"/&gt;
      &lt;/fileset&gt;
  &lt;/path&gt;
  
  &lt;path id="master-classpath-common-lib" &gt;
      &lt;fileset dir="."&gt;
          &lt;include name="*.jar"/&gt;
      &lt;/fileset&gt;
  &lt;/path&gt;
  </code></pre>
  
  <p>For this case <code>*.jar</code> is not working at all.</p>
  
  <p>Can anyone please give some hint on this.</p>