code: public String getMatch(InputReader reader) throws IOException, SyntaxErrorException
      {
          int rc = match(reader);
          if (rc == 1 && reader.read() == -1)
          {
              return reader.getString();
          }
          else
          {
              throw new SyntaxErrorException("syntax error"
                      + "\n"
                      + reader.getLineNumber() + ": " + reader.getLine()
                      + "\n"
                      + pointer(reader.getColumnNumber() + 2));
          }
      }
docs: Matches the whole input and returns the matched string
  @param reader
  @return
  @throws IOException
  @throws SyntaxErrorException