[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] filterfile

Ross Slade wrote:

> Am I correct in my belief the line below should filter all messages from this
> individual in ANY newsgroup?
> ^From:.*rod_speed\@yahoo\.com.*[, ].*

I don't think the @ sign should be escaped. Furthermore, the regexp does
not automatically bind to the end of a line, therefore you can omit the
final .* . The following should work:


If you want to test regular expressions, there is a program "pcretest"
in the pcre subdirectory which is unfortunately not built during the
"make" process. You can build it by

cd pcre
make pcretest

It will first ask you for a regular expression which you have to
include in //, so type


and then ask for texts to be matched against this expression. End
with Ctrl-D.

And yes, a problem with the current implementation of filter files in
leafnode is that any regexp applies to any newsgroup.

> Is it ok to post a debug file attachment to the list (~20k in  size)?

I don't see any problems with that.


/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list