MatchGroup (original) (raw)

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

Note MatchGroup on particular platforms can also provide the range in the input where the group match has happened. See the docs of MatchGroup for the specific platform for details.

Since Kotlin

1.0

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

Since Kotlin

1.1

Parameters

value

The value of captured group.

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

Since Kotlin

1.0

Parameters

value

The value of captured group.

range

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

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

Since Kotlin

1.3

Parameters

value

The value of captured group.

range

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

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

Since Kotlin

1.8

Parameters

value

The value of captured group.

range

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

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

Since Kotlin

1.8

Parameters

value

The value of captured group.

range

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

Constructors

Properties

The value of captured group.