MatchGroup

expect class MatchGroup
actual data class MatchGroup

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

actual data class MatchGroup

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

actual data class MatchGroup

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.

The range property is available on JVM only.

value

The value of captured group.

value

The value of captured group.

range

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

The range property is available on JVM only.

Constructors

MatchGroup
Link copied to clipboard
fun MatchGroup(value: String, range: IntRange)
MatchGroup
Link copied to clipboard
fun MatchGroup(value: String, range: IntRange)
MatchGroup
Link copied to clipboard
fun MatchGroup(value: String)

Properties

range
Link copied to clipboard
val range: IntRange
range
Link copied to clipboard
val range: IntRange
value
Link copied to clipboard
expect val value: String
actual val value: String
actual val value: String
actual val value: String