|
|
@ -108,8 +108,6 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
return currentResult;
|
|
|
|
return currentResult;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static string ParseReleaseGroup(string title)
|
|
|
|
public static string ParseReleaseGroup(string title)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title = title.Trim();
|
|
|
|
title = title.Trim();
|
|
|
@ -132,8 +130,6 @@ namespace NzbDrone.Core.Indexers
|
|
|
|
private static readonly Regex ReportSizeRegex = new Regex(@"(?<value>\d+\.\d{1,2}|\d+\,\d+\.\d{1,2}|\d+)\W?(?<unit>GB|MB|GiB|MiB)",
|
|
|
|
private static readonly Regex ReportSizeRegex = new Regex(@"(?<value>\d+\.\d{1,2}|\d+\,\d+\.\d{1,2}|\d+)\W?(?<unit>GB|MB|GiB|MiB)",
|
|
|
|
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
|
|
|
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static long ParseSize(string sizeString)
|
|
|
|
public static long ParseSize(string sizeString)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var match = ReportSizeRegex.Matches(sizeString);
|
|
|
|
var match = ReportSizeRegex.Matches(sizeString);
|
|
|
|