fix: support shell colors

This commit is contained in:
Jonas Geiler 2024-08-24 15:04:57 +02:00 committed by GitHub
parent cdaca39e4e
commit eceec51e2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,