這個方法告訴這個字符串是否在給定的正則表達式匹配。形式str.matches(regex)這個方法的調用會產生完全相同的結果作為表達式 Pattern.matches(regex, str)。
確定! 回上一頁