docs: public static String constructSimpleWildcardPattern(String s) {
          String result = escapeRegExCharacters(s);
          //we want to match any characters between dots
          //so what we do is replace \* in our escaped string
          //with [^\\.]+
          //reference http://www.regular-expressions.info/dot.html
          return result.replace("\\*", "[^\\\\.]+");
      }