@Override
        void finish(GlobToRegex converter) {
          throw converter.syntaxError("Hanging escape (\\) at end of pattern");
        }
State following the reading of a single \.
jimfs/src/main/java/com/google/common/jimfs/GlobToRegex.java