mirror of https://github.com/Jackett/Jackett
BeyondHD: add leading/tailing wildcard to search
This commit is contained in:
parent
6d275244ef
commit
ef3dfad4aa
|
@ -108,7 +108,7 @@ namespace Jackett.Indexers
|
|||
if (!string.IsNullOrWhiteSpace(searchString))
|
||||
{
|
||||
Regex ReplaceRegex = new Regex("[^a-zA-Z0-9]+");
|
||||
searchString = ReplaceRegex.Replace(searchString, "%");
|
||||
searchString = "%" + ReplaceRegex.Replace(searchString, "%") + "%";
|
||||
queryCollection.Add("search", searchString);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue