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

about Password Scheme #219

Open
yt8492 opened this issue Jul 28, 2018 · 0 comments
Open

about Password Scheme #219

yt8492 opened this issue Jul 28, 2018 · 0 comments

Comments

@yt8492
Copy link
Contributor

yt8492 commented Jul 28, 2018

Password Scheme ALPHA_NUMERIC_SYMBOLS and ALPHA_NUMERIC_MIXED_CASE_SYMBOLS can't recognize "_" as symbol. This is my suggestion in android-saripaar/saripaar/src/main/java/com/mobsandgeeks/saripaar/rule/PasswordRule.java
put(Password.Scheme.ALPHA_NUMERIC_SYMBOLS, "(?=.*[a-zA-Z])(?=.*[\\d])(?=.*([^\\w]|_)).+"); put(Password.Scheme.ALPHA_NUMERIC_MIXED_CASE_SYMBOLS, "(?=.*[a-z])(?=.*[A-Z])(?=.*[\\d])(?=.*([^\\w]|_)).+");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant