For some reason this code prints true, what am I d...
# announcements
a
For some reason this code prints true, what am I doing wrong?
Copy code
val r = "a{2,5}".toRegex()
println(r.containsMatchIn("aaaaaa"))