asArray

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

Platform and version requirements: JS

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.