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

/**
 * Returns the string matched by the given [group].
 *
 * If [group] is 0, returns the match of the pattern.
 *
 * Short alias for [Match.group].
 */
String operator [](int group);