From: Nobuyoshi Nakada Date: 2007-07-31T04:34:09+09:00 Subject: Re: Case sensitivity in glob revisited 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) -- Nobu Nakada