mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
fix: 支持195号段(#240)
This commit is contained in:
parent
8337d819f5
commit
96cb8eff89
9
packages/www/src/RULES.js
vendored
9
packages/www/src/RULES.js
vendored
@ -180,8 +180,8 @@ module.exports = [{
|
||||
},
|
||||
{
|
||||
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[189]))\d{8}$/,
|
||||
examples: ['008618311006933', '+8617888829981', '19119255642']
|
||||
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}$/,
|
||||
examples: ['008618311006933', '+8617888829981', '19119255642', '19519255642']
|
||||
},
|
||||
{
|
||||
title: '手机号(mobile phone)中国(宽松), 只要是13,14,15,16,17,18,19开头即可',
|
||||
@ -400,10 +400,5 @@ module.exports = [{
|
||||
rule: /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
|
||||
examples: ['90203918@qq.com', 'nbilly@126.com', '啦啦啦@126.com']
|
||||
|
||||
},
|
||||
{
|
||||
title: '车架号',
|
||||
rule: /^[A-HJ-NPR-Z\d]{17}$/,
|
||||
examples: ['LSGGF53W8CH066445', 'LSVAA49J132047371']
|
||||
}
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user