mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
commit
e19d9b96e3
@ -269,7 +269,7 @@ vscode应用商店中搜索"**any-rule**".
|
|||||||
|
|
||||||
### 座机(tel phone)电话(国内),如: 0341-86091234
|
### 座机(tel phone)电话(国内),如: 0341-86091234
|
||||||
```javascript
|
```javascript
|
||||||
/^\d{3}-\d{8}$|^\d{4}-\d{7}$/
|
/^\d{3}-\d{8}$|^\d{4}-\d{7,8}$/
|
||||||
```
|
```
|
||||||
|
|
||||||
### 身份证号(1代,15位数字)
|
### 身份证号(1代,15位数字)
|
||||||
|
@ -191,7 +191,7 @@ module.exports = [{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '座机(tel phone)电话(国内),如: 0341-86091234',
|
title: '座机(tel phone)电话(国内),如: 0341-86091234',
|
||||||
rule: /^\d{3}-\d{8}$|^\d{4}-\d{7}$/,
|
rule: /^\d{3}-\d{8}$|^\d{4}-\d{7,8}$/,
|
||||||
examples: ['0936-4211235']
|
examples: ['0936-4211235']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user