Skip to content

Commit b031e55

Browse files
authored
Fix oopsy
1 parent db5258f commit b031e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic/patterns.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ patterns:
8787
pattern: |
8888
[0-9a-f]{32}|[0-9a-f]{40}|[0-9a-f]{64}
8989
start: |
90-
(?:\A|[^a-zA-Z0-9])(?i)[a-z0-9._-]*(?:api|auth[a-z]+|jwt|mysql|db)?[_.-]?(?:pass?(?:wo?r?d|code|phrase)|secret|key|token)([_\s-.][a-z0-9]+){0,3}([\s]+As[\s]+String)?[\s]*(={1,3}|:)[\s]*\|?[\s]*(?:["']|b["'])?
90+
(?:\A|[^a-zA-Z0-9])(?i)[a-z0-9._-]*(?:api|auth[a-z]+|jwt|mysql|db)?[_.-]?(?:pass?(?:wo?r?d|code|phrase)|secret|key|token)([_-][a-z0-9]+){0,3}([ \t]+As[ \t]+String)?[\t ]*(={1,3}|:)[\t ]*(?:["']|b["'])?
9191
end: |
9292
(\z|[\r\n'"])
9393
test:
@@ -107,7 +107,7 @@ patterns:
107107
pattern: |
108108
(([A-Za-z0-9+/]){4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)
109109
start: |
110-
(?:\A|[^a-zA-Z0-9])(?i)[a-z0-9._-]*(?:api|auth[a-z]+|jwt|mysql|db)?[_.-]?(?:pass?(?:wo?r?d|code|phrase)|secret|key|token)([_\.-][a-z0-9]+){0,3}([ \t]+As[ \t]+String)?[\t ]*(={1,3}|:)[\t ]*(?:["']|b["'])?
110+
(?:\A|[^a-zA-Z0-9])(?i)[a-z0-9._-]*(?:api|auth[a-z]+|jwt|mysql|db)?[_.-]?(?:pass?(?:wo?r?d|code|phrase)|secret|key|token)([_\s-.][a-z0-9]+){0,3}([\s]+As[\s]+String)?[\s]*(={1,3}|:)[\s]*\|?[\s]*(?:["']|b["'])?
111111
end: |
112112
(\z|[\r\n'"])
113113
additional_match:

0 commit comments

Comments
 (0)