mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
rutracker: searchString regexp fix (#15137)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user