W3cubDocs

/Dart 2

group method

String group (int group)

Returns the string matched by the given group.

If group is 0, returns the match of the pattern.

The result may be null if the pattern didn't assign a value to it as part of this match.

Implementation

String group(int group);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/Match/group.html