摘要: 转自:https://zhuanlan.zhihu.com/p/626497347 结论:Pattern与Matcher一起合作.Matcher类提供了对正则表达式的分组支持,以及对正则表达式的多次匹配支持. 单独用Pattern只能使用Pattern.matches(String regex,Ch 阅读全文
posted @ 2024-03-02 18:06 Boblim 阅读(521) 评论(0) 推荐(0) 编辑