From: "H.Yamamoto" Date: 2004-02-26T15:39:33+09:00 Subject: Re: File.fnmatch's behavior Hi, rubyists. I implemented fnmatch. I did some change to behavior, so I want to know whether this is acceptable as File.fnmatch in ruby1.9 or not. Changed feature is... * Followed SUSv3 pattern handling. * Undefine FNM_PATHNAME and define oposite flag FNM_SEPMATCH. * '**/' is supported when FNM_SEPMATCH is not set. * Only '/' is accepted as path separator. * Faster '*' expansion. Still open issue is... [ruby-dev:23029] * Should File.fnmatch('**/test/', '/b/c/test/') match or not? * Should File.fnmatch('**/test/', '../test/') match or not? C file's location is http://www.ccsnet.ne.jp/~ocean/23030/fnmatch.c Please try it and comment about it. Regards, Yamamoto.