From: Trans Date: 2007-07-31T05:01:13+09:00 Subject: Re: Case sensitivity in glob revisited On Jul 30, 12:34 pm, Nobuyoshi Nakada wrote: > Hi, > > At Tue, 31 Jul 2007 04:08:49 +0900, > Trans wrote in [ruby-talk:262505]: > > > not a regexp (it's closer to a shell glob). See +File::fnmatch+ for > > the meaning of the _flags_ parameter. Note that case sensitivity > > depends on your system (so +File::FNM_CASEFOLD+ is ignored) > > Ruby's cross-platform, so Ruby should trump the system. Of course if > > the system is case insensitive, to won't matter wither way. But > > otherwise without this, to get case insensitivity we have to do: > > Dir.glob("somehingstupid", File::FNM_CASEFOLD) Yea it works now! |-) So the docs just need to catch up to reality. Okay. Sorry for the noise, T.