I am trying to use awslabs/git-secrets on windows. When I add regex like
(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@$%&*]).{8,}
and try to scan it throws an fatal error Invalid preceding regular expression. After trying to understand cause of error I found that if (? are wrote together it throws an error. I am trying to add regex for validating password with one uppercase,lowercase,digit and special character.
Thanks in advance
Asked
Active
Viewed 156 times
0

Noob
- 1
-
1Could you please give some examples of good and bad passwords? – ElpieKay Jan 28 '21 at 07:00
-
@ElpieKay Strong Passwords - @oUx24z^0!D, Sjc7&%nd0 combination of one uppercase,lowercase,digit and speical char with min length of 8 – Noob Jan 28 '21 at 09:31