From: "H.Yamamoto" Date: 2004-02-23T15:33:35+09:00 Subject: Re: File.fnmatch's behavior Thanks, Gavin. >> Hi, rubyists. >> >> I'm now thinking of File.fnmatch's behavior. >> I've read [ruby-dev:16555] and agreed the point >> >> "It sounds good to me that FNM_PATHNAME behavior is default (and >> introduce oposite flag like FNM_SLASHMATCH), >> and '**/' is implemented." >> >> Is this change acceptable? > >I like it. fnmatch is one of those few methods whose documentation I have >to look up every time I use it. And then it doesn't do what I want, so I >need to experiment with irb. I'm glad to here that. >Your proposal seems a step in the right direction. I'd like to see some >"real-world" examples, rather than the "a/b" stuff, though. I've already written dir.c to replace "ruby-1.9.0(2004-02-23) Rev1.107". Maybe this can help you. Regards, Yamamoto