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
(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@$%&*]).{8,}
1.4m articles
1.4m replys
5 comments
56.9k users