match

JS
1.1
@DeprecatedSinceKotlin("1.6") fun String.match(
    regex: String
): Array<String>?

(source)
Deprecated: Use Regex.findAll() instead or invoke matches() on String dynamically: this.asDynamic().match(regex)