From 4784ba9b5fe0d2c9ada694834ac6b0d0b7474b89 Mon Sep 17 00:00:00 2001
From: lizijie <lzjiiie@163.com>
Date: Thu, 12 Aug 2021 15:52:23 +0800
Subject: [PATCH] special_device、special_device_history相关文件,special_device查询接口
---
screen-common/src/main/java/com/moral/util/RegexUtils.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/screen-common/src/main/java/com/moral/util/RegexUtils.java b/screen-common/src/main/java/com/moral/util/RegexUtils.java
index 3845848..eca464c 100644
--- a/screen-common/src/main/java/com/moral/util/RegexUtils.java
+++ b/screen-common/src/main/java/com/moral/util/RegexUtils.java
@@ -21,11 +21,11 @@
/**
* ������������
*
- * @param password ������������������ ������ , ��������� , ������������������������3 ��� 20 ������
+ * @param password ������������������ ������ , ��������� , ������������������������6 ��� 20 ������
* @return ���������������true���������������������false
*/
public static boolean checkPassword(String password) {
- String regex = "[0-9a-zA-Z_]\\w{2,19}";
+ String regex = "[0-9a-zA-Z_]\\w{5,19}";
return password.matches(regex);
}
--
Gitblit v1.8.0