matches

fun matches(pattern: Regex)