<span style>Here is an updated patch for ** support in filelib:wildcard().</span><div style><br></div><div style>git fetch git://<a href="http://github.com/josevalim/otp.git" target="_blank" style="color:rgb(17,85,204)">github.com/josevalim/otp.git</a> fixed_double_star</div>
<div style><br></div><div style><a href="https://github.com/josevalim/otp/compare/fixed_double_star" target="_blank" style="color:rgb(17,85,204)">https://github.com/josevalim/otp/compare/fixed_double_star</a></div><div style>
<a href="https://github.com/josevalim/otp/compare/fixed_double_star.patch" target="_blank" style="color:rgb(17,85,204)">https://github.com/josevalim/otp/compare/fixed_double_star.patch</a></div><div style><br></div><div style>
Quoting from bash documentation:</div><div style><br></div><div style><div><font color="#222222" face="arial, sans-serif">Two adjacent *'s used as a single pattern will </font><span style="color:rgb(34,34,34);font-family:arial,sans-serif">match all files and zero or more directories and subdirectories.</span></div>
</div><div style><br></div><div style>I have tested this against Bash 4.2 implementation (previously I was using Ruby's implementation as basis). Since I didn't know there was a difference between Ruby and Bash, I removed any reference to Ruby in the commit message.</div>
<div style><br></div><div style>I have also kept the current filelib:wildcard() behavior of returning files that start with dot ".". Bash by default does not return files starting with "." in wildcards.</div>
<div style><br></div><div style>I have also improved the test coverage, documentation and added some examples.</div>