groupCount method
Implementation
int groupCount() {
var rc = 0;
switch (type) {
case LastMatchType.undef:
break;
case LastMatchType.regularExpr:
rc = regExpMatch!.groupCount;
break;
case LastMatchType.string:
break;
}
return rc;
}