mrhlpr.json: fix matching of numbers in regex (!957)
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.
This commit is contained in:
parent
98001dce42
commit
7f4a1e1bc2
1 changed files with 4 additions and 4 deletions
|
@ -7,12 +7,12 @@
|
||||||
"^[a-z]+/[a-z-0-9*{}]+: upgrade to [0-9\\.a-z\\-_]+( \\(!\\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( \\(!\\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+\\)|)$",
|
"^CI: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(!\\d+\\)|)$",
|
||||||
"^mrhlpr.json: [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+\\)|)$"
|
"^pmaports.cfg: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(!\\d+\\)|)$"
|
||||||
],
|
],
|
||||||
"unknown": [
|
"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+\\)|)$"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue