docs: public String getMatch(int groupnum) {
          if (groupnum == 0)
              return getMatch();
          else if (groupnum > groups.size())
              return null;
  
          return (String) groups.get(groupnum - 1);
      }