mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Don't use white spaces as separator in RSS "must not contain" rules
This RegExp uses both white spaces and | as separator. Use only the latter and drop the RegExp as it is no longer required.
This commit is contained in:
@@ -605,7 +605,7 @@ void AutomatedRssDownloader::updateMustNotLineValidity()
|
||||
if (ui->checkRegex->isChecked())
|
||||
tokens << text;
|
||||
else
|
||||
tokens << text.split(QRegExp("[\\s|]"));
|
||||
tokens << text.split("|");
|
||||
foreach (const QString &token, tokens) {
|
||||
QRegExp reg(token, Qt::CaseInsensitive, ui->checkRegex->isChecked() ? QRegExp::RegExp : QRegExp::Wildcard);
|
||||
if (!reg.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user