update 优化 去除无用标识符

2.X
疯狂的狮子Li 10 months ago
parent f678beb9d2
commit e91f02d23a

@ -14,41 +14,41 @@ public interface RegexConstants extends RegexPool {
/**
* 线
*/
public static final String DICTIONARY_TYPE = "^[a-z][a-z0-9_]*$";
String DICTIONARY_TYPE = "^[a-z][a-z0-9_]*$";
/**
* tool:build:list
*/
public static final String PERMISSION_STRING = "^(|^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+:[a-zA-Z0-9_]+)$";
String PERMISSION_STRING = "^(|^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+:[a-zA-Z0-9_]+)$";
/**
* 6
*/
public static final String ID_CARD_LAST_6 = "^(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$";
String ID_CARD_LAST_6 = "^(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$";
/**
* QQ
*/
public static final String QQ_NUMBER = "^[1-9][0-9]\\d{4,9}$";
String QQ_NUMBER = "^[1-9][0-9]\\d{4,9}$";
/**
*
*/
public static final String POSTAL_CODE = "^[1-9]\\d{5}$";
String POSTAL_CODE = "^[1-9]\\d{5}$";
/**
*
*/
public static final String ACCOUNT = "^[a-zA-Z][a-zA-Z0-9_]{4,15}$";
String ACCOUNT = "^[a-zA-Z][a-zA-Z0-9_]{4,15}$";
/**
* 8
*/
public static final String PASSWORD = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$";
String PASSWORD = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$";
/**
* 01
*/
public static final String STATUS = "^[01]$";
String STATUS = "^[01]$";
}

Loading…
Cancel
Save