From: Wilson Bilkovich Date: 2007-09-19T01:45:55+09:00 Subject: Re: Ruby's fnmatch vs fnmatch.h On 9/18/07, Daniel Berger 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