Searched refs:globPattern (Results 1 – 1 of 1) sorted by relevance
311 static Pattern getPatternFromGlob(String globPattern) { in getPatternFromGlob() argument317 globPattern = globPattern.replaceAll("\\$", "\\\\\\$"); in getPatternFromGlob()318 globPattern = globPattern.replaceAll("\\.", "\\\\."); in getPatternFromGlob()321 globPattern = globPattern.replaceAll("\\*\\*", "@"); in getPatternFromGlob()322 globPattern = globPattern.replaceAll("\\*", "[^.]*"); in getPatternFromGlob()323 globPattern = globPattern.replaceAll("@", ".*"); in getPatternFromGlob()324 globPattern += "$"; in getPatternFromGlob()326 return Pattern.compile(globPattern); in getPatternFromGlob()