match

JS
1.1
fun String.match(regex: String): Array<String>?