GNOME Bugzilla – Bug 108769
\$ in scorefile doesn't escape $
Last modified: 2006-06-18 05:09:58 UTC
josue@aria:~$ pkg-config --modversion gtk+-2.0 2.2.1 josue@aria:~$ pan --version Pan 0.13.91 I was looking for a way to filter out posts that have dollar signs in the subject, so I figured I'd just give everything with a $ in it a score of -9999. So I created the following score: [.] Score: =-9999 Subject: \$ Upon re-applying the scores for the group, however, it became apparent that \$ wasn't quite working (as evidenced by the fact that every article was given a score of -9999 :) ). A quick test showed that \\, \^, \., \+ all seemed to work as expected; basically, the only one I can see that doesn't work right is \$. The \ appears to be ignored.
Created attachment 15156 [details] screenshot of \$ working correctly
I can't reproduce this. Attached is a screenshot of my scorefile along with a Pan session with \$ working correctly. Could you re-check your scorefile?
D'oh!! Okay. If I take off the '$' filter, yes indeed, every article gets the 999 score.
Heh...you're doing it in the same group as me...except I'm attempting to do the opposite of you. :) Do you still need the screenshot?
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/filters&command=DIFF_FRAMESET&file=filter-phrase.c&rev1=1.21&rev2=1.22&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.91&rev2=1.92&root=/cvs/gnome