Found some strange problem with Regex. ``` val re...
# announcements
s
Found some strange problem with Regex.
Copy code
val regex = "([A-z]+\\s)+".toRegex()
regex.findAll("A B C D E F ").forEachIndexed {
 i, matchResult ->
 println("$i, ${matchResult.groupValues}")
}
Output:
Copy code
0, [A B C D E F , F ]
So I'am unable to get all values of group if it repeatable