private static Pattern createRegexp(@NotNull String pattern) {
      String replace = pattern.replace(".", "\\.").replace("*", ".*");
      try {
        return Pattern.compile(replace);
      }
      catch (PatternSyntaxException e) {
        return null;
      }
    }
private static Pattern createRegexp(@NotNull String pattern)