7f4a1e1bc2
In the regex [a-z-0-9] you don't need a backslash before the minus in the middle, so remove that to bring it in line with other regexes. In the regex [a-z\/-0-9] you do need a backslash in front of the minus though, otherwise only the numbers 0 and 9 are allowed by the regex.
19 lines
925 B
JSON
19 lines
925 B
JSON
{
|
|
"subject_format": {
|
|
"pass": [
|
|
"^[a-z]+/[a-z-0-9*{}]+: new aport(s|)( \\(!\\d+\\)|)$",
|
|
"^[a-z]+/[a-z-0-9*{}]+: pkgrel bump( \\(!\\d+\\)|)$",
|
|
"^[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+\\)|)$",
|
|
"^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+\\)|)$"
|
|
]
|
|
}
|
|
}
|
|
|