static L filesMatchingRegexpIC(File dir, S regexp) { Pattern pat = regexpIC(regexp); new L l; for (File f : listFiles(dir)) if (!f.isDirectory() && regexpICMatches(pat, f.getName())) l.add(f); ret l; }