match

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