Pattern pattern=Pattern.compile("(.)\\1+");//String address="新小区2号楼";String address="小门东大街887号";pattern.matcher(address).find();System.out.println(pattern.matcher(address).find());为什么"小门东大街887号"是true,而"新小区2号楼"是false
- 2 回答
- 0 关注
- 925 浏览
添加回答
举报
0/150
提交
取消