Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
matches
Returns true
if this char sequence matches the given regular expression.
@DeprecatedSinceKotlin("1.6") fun String.matches(
regex: String
): Boolean
(source)
Deprecated: Use Regex.matches() instead