<div dir="ltr"><div><div><div>Hi,<br><br></div><div>I have this regex:<br></div><div><br><span style="font-family:sans-serif">match /Labs/ChattyApps/(.*.project|b<wbr>uild.</span><span style="font-family:sans-serif">xml?)$</span><br style="font-family:sans-serif"><span style="font-family:sans-serif">  repository /Labs/ChattyApps</span><br style="font-family:sans-serif"><span style="font-family:sans-serif">  branch master</span><br style="font-family:sans-serif"><span style="font-family:sans-serif">  prefix \1</span><br style="font-family:sans-serif"><span style="font-family:sans-serif">end match<br><br></span></div><span style="font-family:sans-serif">This descends
 into each folder and matches <span style="font-family:monospace,monospace">.project</span> within each, and builds the 
folder structure above the <span style="font-family:monospace,monospace">.project </span>file. So the ChattyApps directory 
has the two files I wanted: <span style="font-family:monospace,monospace">build.xml</span> and <span style="font-family:monospace,monospace">.project</span>, but it also has 5 
folders I don't want, because these folders contain <span style="font-family:monospace,monospace">.project</span> files.<br><br></span></div><span style="font-family:sans-serif">Is there a way to just match the two files in the root directory:<span style="font-family:monospace,monospace"> .project</span> and <span style="font-family:monospace,monospace">build.xml</span> and don't descend into any other folders to find other <span style="font-family:monospace,monospace">.project/build.xml</span> matches?<br><br></span></div><span style="font-family:sans-serif">John<br></span></div>