mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
rutracker: searchString regexp fix (#15137)
This commit is contained in:
parent
75f0ffe3e5
commit
a8c44b96a1
1 changed files with 1 additions and 1 deletions
|
@ -1519,7 +1519,7 @@ namespace Jackett.Common.Indexers
|
||||||
// replace any space, special char, etc. with % (wildcard)
|
// replace any space, special char, etc. with % (wildcard)
|
||||||
if (!string.IsNullOrWhiteSpace(searchString))
|
if (!string.IsNullOrWhiteSpace(searchString))
|
||||||
{
|
{
|
||||||
searchString = new Regex("[^a-zA-Zа-яА-Я0-9]+").Replace(searchString, "%");
|
searchString = new Regex("[^a-zA-Zа-яА-ЯёЁ0-9]+").Replace(searchString, "%");
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the search string is empty use the getnew view
|
// if the search string is empty use the getnew view
|
||||||
|
|
Loading…
Add table
Reference in a new issue