mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
extension matching doesn't require all words in file name to be present in the pattern
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user