removed RegexOptions.IgnoreCase from some expressions. supposed to be faster.

This commit is contained in:
Keivan Beigi
2013-08-07 19:07:46 -07:00
parent 8900c32ae1
commit e152ecc55d
4 changed files with 9 additions and 8 deletions
+3 -3
View File
@@ -112,13 +112,13 @@ namespace NzbDrone.Core.Indexers
private static readonly Regex[] HeaderRegex = new[]
{
new Regex(@"(?:\[.+\]\-\[.+\]\-\[.+\]\-\[)(?<nzbTitle>.+)(?:\]\-.+)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
RegexOptions.IgnoreCase),
new Regex(@"(?:\[.+\]\W+\[.+\]\W+\[.+\]\W+\"")(?<nzbTitle>.+)(?:\"".+)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
RegexOptions.IgnoreCase),
new Regex(@"(?:\[)(?<nzbTitle>.+)(?:\]\-.+)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
RegexOptions.IgnoreCase),
};
public static string ParseHeader(string header)