如何检查WHOLE字符串是否可以匹配正则表达式?在Java中是方法String.matches(regex)
String.matches(regex)
regex swift
regex ×1
swift ×1