Browse Source

- wildcard matching for "do not match" tokens too

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
db564b4521
  1. 2
      src/feeddownloader.h

2
src/feeddownloader.h

@ -78,7 +78,7 @@ public: @@ -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;

Loading…
Cancel
Save