extension matching doesn't require all words in file name to be present in the pattern

This commit is contained in:
peter
2011-03-08 20:06:54 +01:00
parent 925cc2fba6
commit 500ea48cc3
@@ -480,7 +480,7 @@ public class NameUtil {
private final String myPattern;
public MinusculeMatcher(String pattern) {
myPattern = pattern.replaceAll(":", "\\*:");
myPattern = pattern.replaceAll(":", "\\*:").replaceAll("\\.", "\\*\\.");
}
private boolean matches(int patternIndex, List<String> words, int wordIndex) {