Patrick
fun main() { val str = "123test123" val matches = Regex("""test""", RegexOption.MULTILINE).matches(str) println(matches) }
gian
containsMatchIn
matches
ilya.gorbunov
regex in str
nkiesel
Regex("test").find("123test456")?.groupValues
A modern programming language that makes developers happier.