diff --git a/Changelog b/Changelog index 81b001674..dced85cad 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ - BUGFIX: Make sure service port does not change - BUGFIX: Fix possible DHT port saving issue - BUGFIX: Fix communication between qBittorrent and Web UI (Qt 4.6) + - BUGFIX: Use Wildcard matching instead of full regex in RSS feed downloader * Wed Dec 23 2009 - Christophe Dumez - v2.0.3 - BUGFIX: Minor cosmetic fix to program preferences diff --git a/src/feeddownloader.h b/src/feeddownloader.h index 1b6806611..03a32d118 100644 --- a/src/feeddownloader.h +++ b/src/feeddownloader.h @@ -67,14 +67,14 @@ public: foreach(const QString& token, match_tokens) { if(token.isEmpty() || token == "") continue; - QRegExp reg(token, Qt::CaseInsensitive); + QRegExp reg(token, Qt::CaseInsensitive, QRegExp::Wildcard); if(reg.indexIn(s) < 0) return false; } // Checking not matching QStringList notmatch_tokens = getNotMatchingTokens(); foreach(const QString& token, notmatch_tokens) { if(token.isEmpty()) continue; - QRegExp reg(token, Qt::CaseInsensitive); + QRegExp reg(token, Qt::CaseInsensitive, QRegExp::Wildcard); if(reg.indexIn(s) > -1) return false; } return true;