group method

String? group(
  1. int no
)

Implementation

String? group(int no) {
  String? rc;
  switch (type) {
    case LastMatchType.undef:
      break;
    case LastMatchType.regularExpr:
      rc = regExpMatch!.group(no);
      break;
    case LastMatchType.string:
      if (no == 0) {
        rc = stringMatch;
      }
      break;
  }
  return rc;
}