asArray

inline fun RegExpMatch.asArray(): Array<out String?>(source)

Converts the result of RegExp.exec to an array where the first element contains the entire matched text and each subsequent element is the text matched by each capturing parenthesis.

Since Kotlin

1.1