From 46594efbccf3355677949d6c4694dfc74865bce6 Mon Sep 17 00:00:00 2001 From: Looly Date: Thu, 14 Apr 2022 00:47:05 +0800 Subject: [PATCH] fix code --- .../src/main/java/cn/hutool/core/lang/PatternPool.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hutool-core/src/main/java/cn/hutool/core/lang/PatternPool.java b/hutool-core/src/main/java/cn/hutool/core/lang/PatternPool.java index c6d6853fa..b22563f10 100644 --- a/hutool-core/src/main/java/cn/hutool/core/lang/PatternPool.java +++ b/hutool-core/src/main/java/cn/hutool/core/lang/PatternPool.java @@ -3,7 +3,8 @@ package cn.hutool.core.lang; import java.util.regex.Pattern; /** - * 常用正则表达式集合,更多正则见:https://any86.github.io/any-rule/ + * 常用正则表达式集合,更多正则见:
+ * https://any86.github.io/any-rule/ * * @author Looly */ @@ -46,8 +47,8 @@ public class PatternPool { */ public final static Pattern MONEY = Pattern.compile(RegexPool.MONEY); /** - * 邮件,符合RFC 5322规范,正则来自:http://emailregex.com/ - * What is the maximum length of a valid email address? https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/44317754 + * 邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
+ * https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/44317754 * 注意email 要宽松一点。比如 jetz.chong@hutool.cn、jetz-chong@ hutool.cn、jetz_chong@hutool.cn、dazhi.duan@hutool.cn 宽松一点把,都算是正常的邮箱 */ public final static Pattern EMAIL = Pattern.compile(RegexPool.EMAIL, Pattern.CASE_INSENSITIVE);