Skip to content

Commit f6acd34

Browse files
committed
Fixed typo in Spring SQL pattern
1 parent fe44b87 commit f6acd34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configs/patterns.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ patterns:
1111
pattern: |
1212
[^\r\n'"\p{Cc}]+
1313
start: |
14-
(?:spring\.datasource|jdbc)\.password[ \t]*}=[ \t]*['"]?
14+
(?:spring\.datasource|jdbc)\.password[ \t]*=[ \t]*['"]?
1515
end: |
1616
\z|['"\r\n]
1717
expected:
@@ -66,9 +66,9 @@ patterns:
6666
regex:
6767
version: 0.1
6868
pattern: |
69-
[^\r\n'"]{12,32}
69+
[^\r\n'"]*
7070
start: |
71-
(?:\n|\A)[ \t]{0,10}(?:secret|service_pass(wd|word|code|phrase)|pass(?:wd|word|code|phrase)?|key)[ \t]{0,30}:[ \t]{0,30}['"]?
71+
(?:\n|\A)[ \t]*(?:secret|service_pass(wd|word|code|phrase)|pass(?:wd|word|code|phrase)?|key)[ \t]*:[ \t]*['"]?
7272
end: |
7373
['"\r\n]|\z
7474
additional_not_match:

0 commit comments

Comments
 (0)