From eceec51e2c39841c3093065ff072c8ffd1223744 Mon Sep 17 00:00:00 2001 From: Jonas Geiler Date: Sat, 24 Aug 2024 15:04:57 +0200 Subject: [PATCH] fix: support shell colors --- problem-matcher.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problem-matcher.json b/problem-matcher.json index 6d1c1c4..ef5389c 100644 --- a/problem-matcher.json +++ b/problem-matcher.json @@ -4,7 +4,7 @@ "owner": "brpaz/hadolint-action", "pattern": [ { - "regexp": "^(.*):(\\d+)\\s((?:DL|SC)\\d+)\\s(style|info|warning|error):\\s(.*)$", + "regexp": "^(.*):(\\d+)\\s((?:DL|SC)\\d+)\\s(?:\\x1b\\[\\d+m)*(style|info|warning|error)(?:\\x1b\\[\\d+m)?:\\s(.*)$", "file": 1, "line": 2, "code": 3,