jiao142857 发表于 2015-4-21 21:20 Pattern p = Pattern.compile("(\\w)\\1*");//单词字符出现一次或多次 Matcher m = p.matcher("aaabbbcccdd ...