Answers for "kotlin regex"

2

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

Browse Popular Code Answers by Language