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

operator [] method

String? operator [](
  1. int group
)

The string matched by the given group.

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

Short alias for Match.group.

Implementation

String? operator [](int group);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/Match/operator_get.html