MatchGroup

expect class MatchGroup(source)

Since Kotlin

1.0
actual data class MatchGroup(source)

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

Since Kotlin

1.1

Parameters

value

The value of captured group.

actual data class MatchGroup(source)

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.

The range property is available on JVM only.

actual data class MatchGroup(source)

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.

The range property is available on JVM only.

Constructors

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

Properties

Link copied to clipboard
Since Kotlin 1.0
Since Kotlin 1.3
Link copied to clipboard
expect val value: String
Since Kotlin 1.0
actual val value: String
Since Kotlin 1.1
actual val value: String
Since Kotlin 1.0
actual val value: String
Since Kotlin 1.3