From db564b452158b10f5f99833a6ab4df1054c19fc8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 29 Dec 2009 21:42:31 +0000 Subject: [PATCH] - wildcard matching for "do not match" tokens too --- src/feeddownloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feeddownloader.h b/src/feeddownloader.h index 949f2a80f..6f9873f0b 100644 --- a/src/feeddownloader.h +++ b/src/feeddownloader.h @@ -78,7 +78,7 @@ public: 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;