Skip to content

Commit

Permalink
perf: 手机号段增加192/6/7(#299)(#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
any86 committed Nov 30, 2023
1 parent f304ddf commit 43abe0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ vscode应用商店中搜索"**any-rule**".

### 手机号(mobile phone)中国(严谨), 根据工信部2019年最新公布的手机号段
```javascript
/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1589]))\d{8}$/
/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[01256789]))\d{8}$/
```

### 手机号(mobile phone)中国(宽松), 只要是13,14,15,16,17,18,19开头即可
Expand Down
4 changes: 2 additions & 2 deletions packages/www/src/RULES.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ module.exports = [{
counterExamples: ['宁AD1234555555', '浙苏H6F681']
},
{
title: '手机号(mobile phone)中国(严谨), 根据工信部2019年最新公布的手机号段',
rule: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1589]))\d{8}$/,
title: '手机号(mobile phone)中国(严谨), 根据工信部最新公布的手机号段',
rule: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[01256789]))\d{8}$/,
examples: ['008618311006933', '+8617888829981', '19119255642', '19519255642']
},
{
Expand Down

1 comment on commit 43abe0f

@vercel
Copy link

@vercel vercel bot commented on 43abe0f Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

any-rule – ./

any-rule-git-master-any86.vercel.app
any-rule-any86.vercel.app
any-rule.vercel.app

Please sign in to comment.