Invalid preceding regular expression git secret

187 Views Asked by At

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

0

There are 0 best solutions below