出库导入报错;

This commit is contained in:
王奎兴
2026-05-28 20:14:31 +08:00
parent 1e61760d45
commit c3c2d0e569
7 changed files with 24 additions and 12 deletions
@@ -42,7 +42,7 @@ public class RegexUtil {
*/
public static boolean isAccountLegal(String str) throws PatternSyntaxException {
// 4-20位,大小写字母或数字
String regEx = "(^[A-Za-z0-9]{3,20}$)";
String regEx = "(^[A-Za-z0-9]{1,20}$)";
Pattern p = Pattern.compile(regEx);
Matcher m = p.matcher(str);
return m.matches();
@@ -109,4 +109,4 @@ public class RegexUtil {
}
}
}