Woodworking (rec.woodworking) Discussion forum covering all aspects of working with wood. All levels of expertise are encouraged to particiapte.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Wood Butcher
 
Posts: n/a
Default Solution to NFilter problems

NFilter didn't seem to be executing many lines which
I had in my nfilter.dat file. These lines I copied from
other users posts. It turns out that for these to function
properly regexp must be turned on. To do this go to
Edit-Configuration-General and check the "Enable
Regular Expressions" box in NFilter.

This immediately caused a major problem. The line in
nfilter.dat reading "rec.woodworking Drop xref:*:*:*:*"
now caused every post to be dropped. The solution is
to replace it with the following.
To drop items xposted to 2 or more groups:
rec.woodworking Drop xref:[^:]*:[^:]*:.*
To drop items xposted to 3 or more groups:
rec.woodworking Drop xref:[^:]*:[^:]*:[^:]*:.*

Filter for specific words in the subject line as follows.
rec.woodworking Drop subject:.*[Jj][Ee][Ww][Ss].*
This targets the word "Jews", with any combination of
upper & lower case, anywhere in the subject line.

My nfilter.dat file works really well now and I've
added the text to the end of this post. These have been
tested by replacing "Drop" with "Flag:JEWS" as in the
above example.

I had to learn the regexp syntax for this effort and I
don't pretend to be an expert. So if those who are
can improve on what I've done - please do, and post it.

Tutorials on Regular Expressions can be found at
http://etext.lib.virginia.edu/helpsheets/regex.html
http://sitescooper.org/tao_regexps.html

Art

PS Yes David, feel free to incorporate anything from
this post into the faq.

**********************************************
rec.woodworking Drop from:.*[Pp][Uu][Pp]+[Yy].*
rec.woodworking Drop subject:.*[Jj][Ee][Ww][Ss].*
rec.woodworking Drop subject:.*[Cc][Hh][Rr][Ii][Ss][Tt][Ii][Aa][Nn].*
rec.woodworking Drop subject:.*[Mm][Uu][Ss][Ll][Ii][Mm].*
rec.woodworking Drop subject:.*[Jj][Ee][Ss][Uu][Ss].*
rec.woodworking Drop subject:.*[Pp][Ee][Nn][Ii][Ss].*
rec.woodworking Drop subject:.*[Ff][Uu][Cc][Kk].*
rec.woodworking Drop subject:.*[Cc][Oo][Cc][Kk].*
rec.woodworking Drop subject:.*[Ss][Hh][Ii][Tt].*
rec.woodworking Drop xref:.*rec/.pets.*
#Drop x-posted to 3+ groups
rec.woodworking Drop xref:[^:]*:[^:]*:[^:]*:.*
#Drop x-posted to 2+ groups
#rec.woodworking Drop xref:[^:]*:[^:]*:.*







 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tig welding problems drew j. Metalworking 4 November 25th 03 09:48 PM
multiple simultaneous washing machine problems Don Sannella UK diy 1 November 4th 03 11:25 AM
Pilot light problems Bob Minchin UK diy 5 October 19th 03 11:42 PM
Tiling Shower Area - adhesive spreading and tile cutting problems JohnB UK diy 7 July 20th 03 10:43 AM
Solving Condensation Problems BigWallop UK diy 2 July 17th 03 01:35 AM


All times are GMT +1. The time now is 09:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"