Skip to content

Commit cd3cd9c

Browse files
committed
Fix missing CR/NL option in multiline YAML pattern
1 parent 5ccec15 commit cd3cd9c

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
@@ -215,7 +215,7 @@ patterns:
215215
pattern: |
216216
[^\x00-\x08]+?
217217
start: |
218-
(?:\n|\A)[ \t]*(?i)[a-z_-]*(?:secret|service_pass(wd|word|code|phrase)|pass(?:wd|word|code|phrase)?|key|token)[ \t]*:[ \t]*[|>][+-]?[ \t]*\n[ \t]+
218+
(?:\n|\A)[ \t]*(?i)[a-z_-]*(?:secret|service_pass(wd|word|code|phrase)|pass(?:wd|word|code|phrase)?|key|token)[ \t]*:[ \t]*[|>][+-]?[ \t]*(\n|\r\n)[ \t]+
219219
end: |
220220
\n\n|\r\n\r\n|(\n|\r\n)[ \t]+\S+:|(\n|\r\n)\.\.\.[ \t\n\r]|\z
221221
comments:

0 commit comments

Comments
 (0)