📅  最后修改于: 2022-03-11 14:53:34.399000             🧑  作者: Mango
代码示例1
"my string".matches(Regex("[a-z]+ [a-z]+")) // true
"my string".matches(Regex("my")) // false: must match whole string