Update RULES.js

This commit is contained in:
xiaocaiji 2021-10-20 16:57:24 +08:00 committed by GitHub
parent 80f68ddec7
commit 26220db48a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,4 +358,9 @@ module.exports = [{
rule: /^[a-zA-Z][0-9]{9}$/, rule: /^[a-zA-Z][0-9]{9}$/,
examples: ['U193683453'] examples: ['U193683453']
}, },
{
title: '复杂密码',
rule: /^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_!@#$%^&*`~()-+=]+$)(?![a-z0-9]+$)(?![a-z\W_!@#$%^&*`~()-+=]+$)(?![0-9\W_!@#$%^&*`~()-+=]+$)[a-zA-Z0-9\W_!@#$%^&*`~()-+=]/,
example: ['a1@','A1@','Aa@']
}
]; ];