match

Platform and version requirements: JS (1.1)
@DeprecatedSinceKotlin("1.6") fun String.match(
    regex: String
): Array<String>?
Deprecated: Use Regex.findAll() instead or invoke matches() on String dynamically: this.asDynamic().match(regex)

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/match.html