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.

The range property is available on JVM only.

MatchGroup(value: String)

Platform and version requirements: JS

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

Parameters

value - The value of captured group.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-match-group/-init-.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部