Prevent CF `Opus` to be matched if Opus is in the release name.

- Prevent CF `Opus` (audio) to be matched if Opus is in the release name. (Mainly for Sonarr being the regex matching starts after Episode number, but also added it to Radarr CF to be consistent).
- Added: regex example
pull/1114/head
TRaSH 1 year ago
parent 4f3441f743
commit f213f93253

@ -1,6 +1,7 @@
{
"trash_id": "a061e2e700f81932daf888599f8a8273",
"trash_score": "250",
"trash_regex": "https://regex101.com/r/SsIWo3/1",
"name": "Opus",
"includeCustomFormatWhenRenaming": false,
"specifications": [{
@ -9,7 +10,7 @@
"negate": false,
"required": true,
"fields": {
"value": "\\bOPUS(\\b|\\d)"
"value": "\\bOPUS(\\b|\\d)(?!.*[ ._-](\\d{3,4}p))"
}
},
{

@ -1,6 +1,7 @@
{
"trash_id": "28f6ef16d61e2d1adfce3156ed8257e3",
"trash_score": "250",
"trash_regex": "https://regex101.com/r/SsIWo3/1",
"name": "Opus",
"includeCustomFormatWhenRenaming": false,
"specifications": [{
@ -9,7 +10,7 @@
"negate": false,
"required": true,
"fields": {
"value": "\\bOPUS(\\b|\\d)"
"value": "\\bOPUS(\\b|\\d)(?!.*[ ._-](\\d{3,4}p))"
}
},
{

Loading…
Cancel
Save