Skip to content

Commit 96e992e

Browse files
committed
Added missing escape of a bracket
1 parent a9e7fb8 commit 96e992e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/patterns.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ patterns:
320320
[\r\n#]|['"]\s*[\r\n]|\z
321321
additional_not_match:
322322
# variable, process substitution
323-
- ^\$(\{[^}]+\}|\([^)]+)|[A-Za-z_]+|[0-9])$
323+
- ^\$(\{[^}]+\}|\([^)]+\)|[A-Za-z_]+|[0-9])$
324324
# placeholders
325325
- ^(<[^>]+>|\[[^]+\]|\{[^}+\}|(your|my|the|a)_[a-z_]+|.*(passwor[t]|key|secret|token|密码).*|\.\.\.|xxx+|yyy+|zzz+|aaa+|bbb+|ccc+)$
326326
# non-secret related "key" content

0 commit comments

Comments
 (0)