Skip to content

Commit 55cd8e0

Browse files
author
monsterLin
authored
Update AppValidationMgr.java
1 parent 239d30f commit 55cd8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/AppValidationMgr.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class AppValidationMgr {
3131
private final static Pattern email_pattern = Pattern.compile("^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$");
3232

3333
//手机号表达式
34-
private final static Pattern phone_pattern = Pattern.compile("^(13|15|18)\\d{9}$");
34+
private final static Pattern phone_pattern = Pattern.compile("^((13[0-9])|(15[^4])|(18[0-9])|(17[0-8])|(147,145))\\d{8}$");
3535

3636
//银行卡号表达式
3737
private final static Pattern bankNo_pattern = Pattern.compile("^[0-9]{16,19}$");

0 commit comments

Comments
 (0)