diff --git a/README.md b/README.md index e040632..0d82d23 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ allprojects { ``` **2:依赖MyUtils**
```gradle -compile 'com.github.liqinew:myutils:V.1.1.4' +compile 'com.github.liqinew:myutils:V.1.1.5' ``` ### [点击查阅MyUtils-API文档](https://liqinew.github.io/MyUtils/) diff --git a/utils/src/main/java/com/liqi/utils/Validation.java b/utils/src/main/java/com/liqi/utils/Validation.java index b5f97bd..1a96e6c 100644 --- a/utils/src/main/java/com/liqi/utils/Validation.java +++ b/utils/src/main/java/com/liqi/utils/Validation.java @@ -164,7 +164,7 @@ public static boolean isZipNO(String zipString) { * @return true是符合,false为不符合。 */ public static boolean matchMobile(String mobile) { - String mobileregex = "^(13[0-9]|14[0-9]|15[0-9]|17[0-9]|18[0-9]|16[0-9])\\d{8}$"; + String mobileregex = "^(13[0-9]|14[0-9]|15[0-9]|17[0-9]|18[0-9]|16[0-9]|19[0-9])\\d{8}$"; return match(mobileregex, mobile); }