https://kotlinlang.org logo
a

Aregev2

07/16/2018, 8:37 PM
For some reason this code prints true, what am I doing wrong?
Copy code
val r = "a{2,5}".toRegex()
println(r.containsMatchIn("aaaaaa"))