T
Thomas Sondergaard
Dir.glob('**/*') matches directories recursively, but
File.fnmatch('**/*', "a/b/c", File::FNM_PATHNAME) returns false. I
thought (from reading the docs at ruby-doc.org) that the patterns are
supposed to be the same.
Can I match directories recursively with File.fnmatch?
Thomas
File.fnmatch('**/*', "a/b/c", File::FNM_PATHNAME) returns false. I
thought (from reading the docs at ruby-doc.org) that the patterns are
supposed to be the same.
Can I match directories recursively with File.fnmatch?
Thomas