private static String globToRegex(final String glob) {
    return "^" + glob.replace(".", "\\.").replace("*", ".*") + "$";
  }
replaces shell-style glob characters with their regexp equivalents
geode-core/src/main/java/org/apache/geode/management/internal/util/ClasspathScanLoadHelper.java