2017年7月22日

java正则: 忽略大小写匹配

摘要: import java.util.regex.Matcher; import java.util.regex.Pattern; import com.sun.org.apache.xerces.internal.impl.xpath.regex.CaseInsensitiveMap; public class test { public static void main(Strin... 阅读全文

posted @ 2017-07-22 05:18 Perl6 阅读(11613) 评论(0) 推荐(0) 编辑

java中的matches -> 完全匹配

摘要: matches是完全匹配。跟matcher不一样, matcher像perl正则, 能匹配到符合的都会返回true, 而这个matches要完全一模一样才行。 阅读全文

posted @ 2017-07-22 05:07 Perl6 阅读(2714) 评论(0) 推荐(0) 编辑

导航