diff --git a/src/NzbDrone.Core/Parser/ReleaseGroupParser.cs b/src/NzbDrone.Core/Parser/ReleaseGroupParser.cs index e8f81a3146..20b3a5093b 100644 --- a/src/NzbDrone.Core/Parser/ReleaseGroupParser.cs +++ b/src/NzbDrone.Core/Parser/ReleaseGroupParser.cs @@ -49,13 +49,6 @@ public static string ParseReleaseGroup(string title) title = CleanReleaseGroupRegex.Replace(title); - var exceptionReleaseGroupRegex = ExceptionReleaseGroupRegex.Matches(title); - - if (exceptionReleaseGroupRegex.Count != 0) - { - return exceptionReleaseGroupRegex.OfType().Last().Groups["releasegroup"].Value; - } - var exceptionExactMatch = ExceptionReleaseGroupRegexExact.Matches(title); if (exceptionExactMatch.Count != 0) @@ -63,6 +56,13 @@ public static string ParseReleaseGroup(string title) return exceptionExactMatch.OfType().Last().Groups["releasegroup"].Value; } + var exceptionReleaseGroupRegex = ExceptionReleaseGroupRegex.Matches(title); + + if (exceptionReleaseGroupRegex.Count != 0) + { + return exceptionReleaseGroupRegex.OfType().Last().Groups["releasegroup"].Value; + } + var matches = ReleaseGroupRegex.Matches(title); if (matches.Count != 0)