Pattern pattern = Pattern.compile("[0-9]*"); pattern.matcher(t.getMonth()).matches() 该方法返回boolean类型结果
java根据正则判断
猜你喜欢
转载自blog.csdn.net/qq_24434061/article/details/84318308
今日推荐
周排行