Home
last modified time | relevance | path

Searched refs:globPattern (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DGlobs.java57 private static String toRegexPattern(String globPattern, boolean isDos) { in toRegexPattern() argument
62 while (i < globPattern.length()) { in toRegexPattern()
63 char c = globPattern.charAt(i++); in toRegexPattern()
67 if (i == globPattern.length()) { in toRegexPattern()
69 globPattern, i - 1); in toRegexPattern()
71 char next = globPattern.charAt(i++); in toRegexPattern()
91 if (next(globPattern, i) == '^') { in toRegexPattern()
97 if (next(globPattern, i) == '!') { in toRegexPattern()
102 if (next(globPattern, i) == '-') { in toRegexPattern()
109 while (i < globPattern.length()) { in toRegexPattern()
[all …]