stdlib
1.1
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
stdlib
/
kotlin.text
/
matches
matches
JS
fun
String
.
matches
(
regex
:
String
)
:
Boolean
(
source
)
Deprecated
Warning since 1.6
Use Regex.matches() instead
Replace with
regex.toRegex().matches(this)
Content copied to clipboard
Since Kotlin
1.1