Sonarr version (exact version): 4.0.16.2944 - Nov 5 2025 OS: Docker running on Ubuntu Server HWE 6.14.0-37-generic Debug logs: N/A Description of issue:
When release titles contain hyphenated words in the episode name, it seems that Sonarr mistakenly treats the “Release Group” by looking at the word after the final hyphen.
For example: For a file named
Some TV (1979) - S02E10 - Hart-Shaped Murder [WEBDL-2160p][EAC3 5.1][x264].mkv
Sonarr is treating the word after the final hypen, i.e. “Shaped”, as the Release Group.
However, the word “Hart-Shaped” is just a hyphenated title, NOT a group. There is no release group here, and Sonarr should not infer one.
My recommendation is perhaps to use a regex such as the following:
-([A-Za-z0-9._-]+)(?=(?:\s*[|.[^.]+$))
This will therefore ensure that a trailing -token is a release group only if:
The token contains no spaces
Nothing with spaces appears after it
It is followed immediately by either metadata ([) or the file extension