This commit is contained in:
2024-09-26 14:06:11 +08:00
parent 4211105c8d
commit 7c3e8f29be
12 changed files with 24 additions and 25 deletions

View File

@@ -15,7 +15,8 @@ public interface PatternRegex {
/**
* 密码需要包含特殊字符字母数字长度为8-16
*/
String PASSWORD_REGEX = "^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[\\=\\[\\]\\{\\}\\.\\,\\\\\\@\\#\\_\\!\\$\\%\\^\\&\\*\\(\\)\\?\\<\\>\\/\\|\\~,\\-\\+]).{8,16}$";
String PASSWORD_REGEX = "^(?=.*[a-zA-Z])(?=.*\\d)(?=.*[\\=\\[\\]\\{\\}\\.\\,\\\\@\\#\\_\\!\\$\\%\\^\\&\\*\\(\\)\\?\\<\\>\\/\\|\\~,\\-\\+]).{8,16}$";
/**
* APP密码长度为8-16