mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
fix: 修正手机号规则
This commit is contained in:
parent
5bdf6fdc3a
commit
074e439186
@ -1,6 +1,7 @@
|
||||
export default [{
|
||||
title: '手机号',
|
||||
rule: /^(1[345789]\d{9})$/,
|
||||
rule: /^1((3[\d])|(4[5,6,9])|(5[0-3,5-9])|(6[5,7])|(7[0-8])|(8[1,2,3,5-8])|(9[1,8,9]))\d{8}$/,
|
||||
// rule: /^[1](([3][0-9])|([4][5-9])|([5][0-3,5-9])|([6][5,6])|([7][0-8])|([8][0-9])|([9][1,8,9]))[0-9]{8}$/,
|
||||
}, {
|
||||
title: '大写字母',
|
||||
rule: /^[A-Z]+$/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user