kotlin-stdlib / kotlin.text / Regex / matches matches Common JVM JS Native 1.0 infix fun matches(input: CharSequence): Boolean Indicates whether the regular expression matches the entire input.