2017年8月7日

java正则表达式(基本语法)

摘要: Public class cla001{ public int countCode(String a){ //表达式(找出"conxe"中的字符,其中'x'为任意字符) String b= "co(.)e"; //表达式写入匹配器 Pattern p = Pattern.compile(b); // 阅读全文

posted @ 2017-08-07 17:26 java羊羔 阅读(226) 评论(0) 推荐(1) 编辑

导航