This commit is contained in:
caozehui
2025-04-22 15:36:31 +08:00
parent 0cc36e4145
commit 32056ce29d

View File

@@ -288,9 +288,9 @@ public interface PatternRegex {
String TIME_SECOND_FORMAT = "^((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))\\s+([0-1]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$";
/**
* 误差体系名称正则(只能包含数字、字母、下划线、点、减号、空格、斜杠)
* 误差体系名称正则(只能包含数字、字母、下划线、中划线、点、减号、空格、斜杠)
*/
String ERR_SYS_NAME_REGEX = "^[\\u4e00-\\u9fa5\\w\\-\\s\\.]{1,32}$";
String ERR_SYS_NAME_REGEX = "^[\\u4e00-\\u9fa5\\w\\-\\s\\.\\\\\\/]{1,32}$";
/**
* 检测源名称