Skip to content

Commit fe44b87

Browse files
committed
Fixed YAML static password 'pattern too large' error
1 parent 431d70d commit fe44b87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configs/patterns.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ patterns:
99
regex:
1010
version: 0.1
1111
pattern: |
12-
[^\r\n'"]{1,40}
12+
[^\r\n'"\p{Cc}]+
1313
start: |
14-
\b(spring\.datasource\.password|jdbc\.password)[ \t]{0,15}=[ \t]{0,15}['"]?
14+
(?:spring\.datasource|jdbc)\.password[ \t]*}=[ \t]*['"]?
1515
end: |
1616
\z|['"\r\n]
1717
expected:

0 commit comments

Comments
 (0)