mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
perf: 增加户口薄正则
This commit is contained in:
parent
ec0b032fb8
commit
c0b38192b0
7
packages/www/src/RULES.js
vendored
7
packages/www/src/RULES.js
vendored
@ -452,6 +452,11 @@ module.exports = [{
|
||||
title: '军官/士兵证',
|
||||
rule: /^[\u4E00-\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$/,
|
||||
examples: ['军字第2001988号', '士字第P011816X号'],
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '户口薄',
|
||||
rule: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
|
||||
examples: ['441421999707223115'],
|
||||
},
|
||||
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user