Custom Format negate not working

Sonarr version (exact version): 4.0.14.2939
OS: Windows 10 Pro
Description of issue: I have a custom format setup to indicate if a release is HDR only. One of the conditions in the custom format is to negate releases that have DV and HDR in their name. However it still matches the custom format ignoring the negate command. Here’s the json from the custom format:

{
“name”: “HDR”,
“includeCustomFormatWhenRenaming”: false,
“specifications”: [
{
“name”: “DV & HDR”,
“implementation”: “ReleaseTitleSpecification”,
“negate”: true,
“required”: false,
“fields”: {
“value”: “^(?=.?\bDV\b)(?=.?\bHDR\b).*$”
}
},
{
“name”: “HDR10”,
“implementation”: “ReleaseTitleSpecification”,
“negate”: true,
“required”: false,
“fields”: {
“value”: “\bHDR10\b”
}
},
{
“name”: “HDR”,
“implementation”: “ReleaseTitleSpecification”,
“negate”: false,
“required”: true,
“fields”: {
“value”: “\bHDR\b”
}
}
]
}

The .Net Regex tester matches the DV & HDR string so Sonarr should too and therefore negate the custom format.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.