Regex named groups

How to extract value by name from

Regex(“”“(?<age>[0-9]+)”“”)

1 Like

This will be supported in Kotlin 1.1. https://youtrack.jetbrains.com/issue/KT-12753

2 Likes