W3cubDocs

/Kotlin

get

abstract operator fun get(name: String): MatchGroup?

Returns a named group with the specified name.

Return An instance of MatchGroup if the group with the specified name was matched or null otherwise.

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