mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Newznab searching is better
Fixed: Newznab returns better results for multi-word searches
This commit is contained in:
parent
4425da8ad9
commit
f6952abf39
3 changed files with 29 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue