mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -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:
@@ -133,7 +133,7 @@ void RssDownloadRule::setMustNotContain(const QString &tokens)
|
||||
if (m_useRegex)
|
||||
m_mustNotContain = QStringList() << tokens;
|
||||
else
|
||||
m_mustNotContain = tokens.split(QRegExp("[\\s|]"));
|
||||
m_mustNotContain = tokens.split("|");
|
||||
}
|
||||
|
||||
RssDownloadRulePtr RssDownloadRule::fromVariantHash(const QVariantHash &rule_hash)
|
||||
|
||||
Reference in New Issue
Block a user