Idioms for Regex Matching in When Expression

Introduction to regular expressions in Kotlin