摘要: //简单认识正则表达式 p("abc".matches("...")); p("a1234a".replaceAll("\\d","^")); Pattern p = Pattern.compile("[a-z]{3}"); Matcher m = p.matcher("hll"); p(m.mat 阅读全文
posted @ 2017-11-02 22:20 凯西_Casey 阅读(201) 评论(0) 推荐(0) 编辑