rutracker: searchString regexp fix (#15137)

This commit is contained in:
Lokkenum
2024-03-10 13:06:27 +03:00
committed by GitHub
parent 75f0ffe3e5
commit a8c44b96a1

View File

@@ -1519,7 +1519,7 @@ namespace Jackett.Common.Indexers
// replace any space, special char, etc. with % (wildcard)
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