awslabs / awslabs/git-secrets

Invalid preceding regular expression regex pattern

Open
#190 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
13.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Tried adding several regex patterns like **(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@\\$%\\^&\\*])(?=.{8,})**
**(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@$%&*]).{8,}** etc but getting fatal error
Found that issue is caused when used **?** after **(**
Can someone help?

Contributor guide

Open the contributing guide

Research direction

Reproduce the fatal error with the regular expression patterns shown in the issue, then inspect the repository's pattern-validation and matching entry points. Confirm which syntax is rejected and document or test the expected handling of these patterns; the issue is done when the behavior is covered and the failure is resolved or clearly reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.