Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

手机号验证太旧了,建议更新为最新的正则表达式 #26

Open
shchzh85 opened this issue Sep 24, 2019 · 3 comments
Open

Comments

@shchzh85
Copy link

把 application\lang\zh-cn.php   369行的 '^1((3|5|8|7){1}\d{1})\d{8}$'替换为以下 ^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$

@gongfuxiang
Copy link
Owner

把 application\lang\zh-cn.php   369行的 '^1((3|5|8|7){1}\d{1})\d{8}$'替换为以下 ^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$

v1.7.0开发版本已更新 ^1((3|5|6|7|8|9){1}\d{1})\d{8}$

@NeverMin
Copy link

NeverMin commented Sep 24, 2019 via email

@gongfuxiang
Copy link
Owner

移动有 147 开头的号码.

-Never

好的,已经更新支持 ^1((3|4|5|6|7|8|9){1}\d{1})\d{8}$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants