用户密码正则表达式bug
This commit is contained in:
@@ -15,7 +15,7 @@ public interface PatternRegex {
|
||||
/**
|
||||
* 密码需要包含特殊字符字母数字,长度为8-16
|
||||
*/
|
||||
String PASSWORD_REGEX = "^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[=[]{}.,。、@#_!$%^&*()?<>/|~,\\-+]).{8,16}$";
|
||||
String PASSWORD_REGEX = "^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[\\=\\[\\]\\{\\}\\.\\,\\。\\、\\@\\#\\_\\!\\$\\%\\^\\&\\*\\(\\)\\?\\<\\>\\/\\|\\~,\\-\\+]).{8,16}$";
|
||||
|
||||
/**
|
||||
* 手机的密码
|
||||
|
||||
Reference in New Issue
Block a user