kotlin.text.MatchGroup.<init>

<init>

MatchGroup(value: String, range: IntRange)

Platform and version requirements: JVM

Represents the results from a single capturing group within a MatchResult of Regex.

Parameters

value - The value of captured group.

range -

The range of indices in the input string where group was captured.