forked from plusone/plusone-commons
fix: 修改 email 的正则常量
1. fix: Email 的 Pattern 不区分大小写 2. docs: 标注正则表达式的出处
This commit is contained in:
@@ -61,7 +61,7 @@ public final class PatternConsts {
|
||||
*
|
||||
* @see RegexConsts#EMAIL
|
||||
*/
|
||||
public static final Pattern EMAIL = Pattern.compile(RegexConsts.EMAIL);
|
||||
public static final Pattern EMAIL = Pattern.compile(RegexConsts.EMAIL, Pattern.CASE_INSENSITIVE);
|
||||
|
||||
/**
|
||||
* 中国大陆手机号
|
||||
|
Reference in New Issue
Block a user