Newznab searching is better

Fixed: Newznab returns better results for multi-word searches
This commit is contained in:
Mark McDowall 2012-09-06 08:37:38 -07:00
commit f6952abf39
3 changed files with 29 additions and 1 deletions

View file

@ -18,7 +18,7 @@ namespace NzbDrone.Core.Providers.Indexer
private readonly HttpProvider _httpProvider;
protected readonly ConfigProvider _configProvider;
private static readonly Regex TitleSearchRegex = new Regex(@"[\W]", RegexOptions.IgnoreCase | RegexOptions.Compiled);
protected static readonly Regex TitleSearchRegex = new Regex(@"[\W]", RegexOptions.IgnoreCase | RegexOptions.Compiled);
protected static readonly Regex RemoveThe = new Regex(@"^the\s", RegexOptions.IgnoreCase | RegexOptions.Compiled);
[Inject]