微调
This commit is contained in:
@@ -79,9 +79,14 @@ public interface PatternRegex {
|
|||||||
String DEPT_NAME_REGEX = "^[\\u4e00-\\u9fa5]{1,20}$";
|
String DEPT_NAME_REGEX = "^[\\u4e00-\\u9fa5]{1,20}$";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典名称包括中文、数字、字母、罗马数字、括号以及点号
|
* 字典名称包括中文、数字、字母、罗马数字、括号以及点号、百分号
|
||||||
*/
|
*/
|
||||||
String DIC_REGEX = "^[\\w\\u4E00-\\u9FA5()()_/、/, /,\\- ]+\\.?[\\w\\u4E00-\\u9FA5()()I II III IV V /]{0,125}$";
|
String DICT_NAME_REGEX = "[\\w\\u4E00-\\u9FA5()()_/、/, /,\\-\\%]+\\.?[\\w\\u4E00-\\u9FA5()()I II III IV V /]{0,63}$";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典编码包括中文、数字、字母、罗马数字、括号以及点号、百分号
|
||||||
|
*/
|
||||||
|
String DICT_CODE_REGEX = "[\\w\\u4E00-\\u9FA5()()_/、/, /,\\-\\%]+\\.?[\\w\\u4E00-\\u9FA5()()I II III IV V /]{0,29}$";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 密码有效期(月)1-3月
|
* 密码有效期(月)1-3月
|
||||||
|
|||||||
Reference in New Issue
Block a user