Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我有更好的正则: 密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符 #269

Open
Hobart-C opened this issue Nov 2, 2022 · 3 comments
Labels
🍕待同步到代码 稍后同步到代码中

Comments

@Hobart-C
Copy link

Hobart-C commented Nov 2, 2022

var pattern = /^(?=.[0-9])(?=.[A-Z]{1,})(?=.[a-z]{1,})(?=.[!@#$%^&?{}])[\w!@#$%^&?{}]{8,16}$/

@Hobart-C
Copy link
Author

Hobart-C commented Nov 2, 2022

8-16位,至少1个数字,1个大写字母,1个小写字母,1个特殊字符,不可输入中文及空格,

@any86
Copy link
Owner

any86 commented Nov 4, 2022

收到

@any86 any86 added the 🍕待同步到代码 稍后同步到代码中 label Nov 4, 2022
@any86
Copy link
Owner

any86 commented Nov 7, 2022

有点问题, 这个"Kd@curry666"验证不通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍕待同步到代码 稍后同步到代码中
Projects
None yet
Development

No branches or pull requests

2 participants