code: public boolean isMatch(PushbackReader input, int size) throws IOException
      {
          InputReader reader = Input.getInstance(input, size);
          return isMatch(reader);
      }
docs: Return true if input matches the regex
  @param input
  @param size
  @return
  @throws IOException