private void append(char c) {
    if (separatorMatcher.matches(c)) {
      appendSeparator();
    } else {
      appendNormal(c);
    }
  }
Appends the regex form of the given normal character or separator from the glob.
jimfs/src/main/java/com/google/common/jimfs/GlobToRegex.java