group method

  1. @override
String? group(
  1. int groupNo
)
override

Returns the group with groupNo of the last hit. If groupNo is 0 the full match is returned. Returns null if this group does not exist, the group otherwise.

Implementation

@override
String? group(int groupNo) {
  final rc = groupNo == 0 ? searchEngine.lastMatch.stringMatch : null;
  return rc;
}