Version: 0.8.1 (using KDE 3.3.1, Gentoo) Compiler: gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) OS: Linux (i686) release 2.6.9-gentoo-r1 When I try to filter threads with a specific regexp in the header, knode politely ignores it, and show all the threads. When combined with other filtering criterias, the others works, while the regexp is still ignored.
Which header did you try to filter? This works only with headers provided by the server when getting the article list (subject, from, date, xref, ...).
Subject
I'm unable to reproduce this, could you maybe post the regexp that didn't work?
Never mind, I found it. I'll commit a fix soon.
CVS commit by vkrause: Matching on position 0 is okay too, only negative values mean no match. BUG: 93756 M +1 -1 knstringfilter.cpp 1.22 --- kdepim/knode/knstringfilter.cpp #1.21:1.22 @@ -47,5 +47,5 @@ bool KNStringFilter::doFilter(const QStr if(regExp) { QRegExp matcher(expanded); - ret=(matcher.search(s) > 0); + ret = ( matcher.search(s) >= 0 ); } else ret=(s.find(expanded,0,false)!=-1);