dart / 1 / dart-core / match / operator_get.html

operator [] abstract method

String operator [](int group)

Returns the string matched by the given group.

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

Short alias for Match.group.

Source

String operator [](int group);

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