02 2017 档案
摘要:package com.modules.plateform.tool; import java.util.regex.Pattern; /** * 账户相关属性验证工具 * */ public class AccountValidatorUtil { /** * 正则表达式:验证用户名 */ public static final String REG...
阅读全文
摘要:/** * 判断是否包含汉字 * @param str * @return */ public static boolean isContainChinese(String str) { Pattern p = Pattern.compile("[\u4e00-\u9fa5]"); Matcher m = p...
阅读全文

浙公网安备 33010602011771号