This Regex constructor is not found. If you remove `.matches(text)` it is found, so it has something to do with the chained call. ```kotlin fun doSomething(text: String): Boolean { return Regex("group1").matches(text) } ```
This Regex constructor is not found. If you remove
.matches(text)it is found, so it has something to do with the chained call.