On 9/18/07, Daniel Berger <Daniel.Berger / qwest.com> wrote: > Hi, > > I'm just curious - what's the difference between fnmatch.h and the > custom version that Ruby has in dir.c? I'm just wondering why it wasn't > used if found, since I think it exists on most *nix platforms. > Ruby implements its own version in order to be able to support ** patterns. The POSIX version treats ** the same as *. Conveniently, Brian recently wrote an article about this: http://blog.brightredglow.com/2007/9/17/dear-glob