|
|
|
@ -31,7 +31,8 @@ namespace NzbDrone.Core.Parser
|
|
|
|
|
(?<ukrainian>(?:(?:\dx)?UKR))|
|
|
|
|
|
(?<spanish>\b(?:español|castellano)\b)|
|
|
|
|
|
(?<latvian>\bLV\b)|
|
|
|
|
|
(?<telugu>\btel\b)",
|
|
|
|
|
(?<telugu>\btel\b)|
|
|
|
|
|
(?<vietnamese>\bVIE\b)",
|
|
|
|
|
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
|
|
|
|
|
|
|
|
|
private static readonly Regex CaseSensitiveLanguageRegex = new Regex(@"(?:(?i)(?<!SUB[\W|_|^]))(?:(?<lithuanian>\bLT\b)|
|
|
|
|
@ -347,6 +348,11 @@ namespace NzbDrone.Core.Parser
|
|
|
|
|
{
|
|
|
|
|
languages.Add(Language.Telugu);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (match.Groups["vietnamese"].Success)
|
|
|
|
|
{
|
|
|
|
|
languages.Add(Language.Vietnamese);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!languages.Any())
|
|
|
|
|