Answers for "pattern class kotlin for regex"

3

kotlin regex

"my string".matches(Regex("[a-z]+ [a-z]+")) // true
"my string".matches(Regex("my")) // false: must match whole string
Posted by: Guest on February-02-2021

Code answers related to "pattern class kotlin for regex"

Browse Popular Code Answers by Language