Skip to content

Commit c5029c3

Browse files
authored
增加16号段得手机号码
1 parent 1d6402a commit c5029c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Regular.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Regular
1919
/**
2020
* 正则 手机号码
2121
*/
22-
const REG_MOBILE = '/^1[2345789]{1}\d{9}$/';
22+
const REG_MOBILE = '/^1[23456789]{1}\d{9}$/';
2323

2424
/**
2525
* 正则 WX号
@@ -100,4 +100,4 @@ class Regular
100100
* 正则 整数
101101
*/
102102
const REG_INTEGER = '/^-?\\d+$/';
103-
}
103+
}

0 commit comments

Comments
 (0)