mrhlpr.json: support slash char and more prefixes (!636)

Lines starting with "CI:", "mrhlpr.json:" and "pmaports.cfg:" are fine,
and so is having a slash in the part after the colon.
This commit is contained in:
Oliver Smith 2019-09-26 21:29:18 +02:00
parent 827967a465
commit 1d7f7641c1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -6,10 +6,13 @@
"^[a-z-0-9*{}]+: new device \\([^\\)]+\\)( \\(!\\d+\\)|)",
"^[a-z]+/[a-z-0-9*{}]+: upgrade to [0-9\\.a-z\\-_]+( \\(!\\d+\\)|)$",
"^[a-z]+/[a-z-0-9*{}]+: remove( \\(!\\d+\\)|)$",
"^[a-z]+/[a-z-0-9*{}]+: remove, upstreamed( \\(!\\d+\\)|)$"
"^[a-z]+/[a-z-0-9*{}]+: remove, upstreamed( \\(!\\d+\\)|)$",
"^CI: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\/-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$",
"^mrhlpr.json: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\/-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$",
"^pmaports.cfg: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\/-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$"
],
"unknown": [
"^[a-z-0-9_.*{}\\/]+: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$"
"^[a-z-0-9_.*{}\\/]+: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\/-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$"
]
}
}