🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #134638

Re: [Dialog] 1st filter.

#134638
From: Enrico C
Date: Tue, 30 Sep 2003 22:02
107 lines
4241 bytes
A certain Antonio 'Gandalf' Favata, of news.software.readers, writes:

> news.software.readers ~ 30/9/2003 18.14 ~ Enrico C: 

|| # A Hamster filter for news and mail readers groups 
|| # This filter gets only articles about my *favorite readers*, 
|| # 40tude Dialog and The Bat!, articles about Hamster, articles about general matters. 
|| # It blocks all articles about specific readers other than those I am interest in.


|| ?-90 Body: {\b(trn|xnews|pocomail|pimmy|popcorn|oe.?|eudora|sylpheed|netscape|m2|
|| calypso|pegasus|thunderbird|foxmail|incredimail|xpn|fidolook|opera|quotefix|mozilla|agent|
|| o?ut.?l[ou].?k|quadsucker|bnr2|leafnode)|(super)?gra[vb]ity?|[\(\s\[](oe|tin|pan|gnus)[\)\s\]]|
|| x(ana)?(\-|\s)?news?|(sl|t)rn|news(\-|\s)?(bin|man|plex|rover|san)}


>> (trn|xnews|

> These were already in my filter, (sl|t)rn and x(ana)?[\s-]?news?/ 

Yep!
On the "tail of the beast" ^__^

|| x(ana)?(\-|\s)?news?|(sl|t)rn|news(\-|\s)?(bin|man|plex|rover|san)


>> pocomail|sylpheed|netscape|m2|calypso

> Didn't have these, I'll add it :) 

I check for mailreaders, too :)


>> oe.?

> OE[\d\s\.]* ==> OE6, OE 5.5 etc 

Elegant :)


>> fidolook o?ut.?l[ou].?k

> I have: ([oa]?ut|fid)o?l[ou]+[ck]+ 

A good trap for drunk OE users :))


>> foxmail|incredimail|

> You can use just (fox|poco|incredi)mail. 

Yeah!


>> [\(\s\[](oe|tin|pan|gnus)[\)\s\]]

> I'd prefer \b(tin|pan|gnus)\b 

Mmmh... Dunno... "Pan" is also "roteate" and "tin" has even more
meanings. 
I wouldn't drop the square brackets there.

Anyway, I'd put *everything* between the \b's ! 


>> (super)?gra[vb]ity?

> The super isn't really needed, just gravity would match the filter. 

Correct... But now I am thinking of...

||    \b(...|...|...|(super|micro)?gra[vb]ity?)|...|...|...)\b


So let's put two and two together now :)


|| {\b(pimmy|popcorn|oe[\d\s\.]*|eudora|sylpheed|netscape|m2|calypso|pegasus|thunderbird|
|| xpn|([oa]?ut|fid)o?l[ou]+[ck]+|opera|quotefix|mozilla|agent|quadsucker|bnr2|leafnode|
|| (fox|poco|incredi)mail|(super|micro)?gra[vb]ity?|gnus|[\(\s\[](tin|pan)[\)\s\]]|
|| x(ana)?(\-|\s)?news?|(sl|t)rn|news(\-|\s)?(bin|man|plex|rover|san))\b}

Right?


> So here's mine:
>|| +10	Subject:	{dial.?og(?!ue)|40\s?tud|hamster}


> The (?!ue) means that dialogue doesn't match the filter, but dialog does.

snip

> You'll probably want to pay attention to �the\s?bat� and �TB!?� ;)

Yes, of course!

|| =+150 Subject: {\b(40\s?tude?|Dial.?og?|Hamster|T(he\s?)?B(at)?\!?)\b}

Maybe you would like to try and combine Subject and Body filters as
well. That's most effective! 

-- 
Enrico C

Draco Dormiens Nunquam Titillandus
Technical Details
Message-ID: <ijjgw581cb0j$.dlg@news.lillathedog.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!213.203.156.37!not-for-mail
References: <1fve7gvxyip03$.14onxssoofqh5$.dlg@40tude.net> <1x04udtocjbc4.dlg@gandalf.my-fqdn.de> <wjwkh417r52v$.dlg@tarkus.karnevil9.com> <184uialzp5xd0$.dlg@gandalf.my-fqdn.de> <f71jeialo5qh$.dlg@news.lillathedog.net> <smubgiq2qjfj.dlg@darkside.df> <MrQ9403570E9CDF1itsmeitsQ@QsFQDN.dyndns.org> <wbn7mfsdh7vb.dlg@news.lillathedog.net> <3pebzja23jlp$.dlg@gandalf.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <ijjgw581cb0j$.dlg@news.lillathedog.net>
Subject: Re: [Dialog] 1st filter.
Date: Tue, 30 Sep 2003 22:02:31 +0000
From: Enrico C <enrico.c@spamcop.net>
References: <1fve7gvxyip03$.14onxssoofqh5$.dlg@40tude.net> <1x04udtocjbc4.dlg@gandalf.my-fqdn.de> <wjwkh417r52v$.dlg@tarkus.karnevil9.com> <184uialzp5xd0$.dlg@gandalf.my-fqdn.de> <f71jeialo5qh$.dlg@news.lillathedog.net> <smubgiq2qjfj.dlg@darkside.df> <MrQ9403570E9CDF1itsmeitsQ@QsFQDN.dyndns.org> <wbn7mfsdh7vb.dlg@news.lillathedog.net> <3pebzja23jlp$.dlg@gandalf.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!213.203.156.37!not-for-mail
Newsgroups: news.software.readers
Lines: 106
NNTP-Posting-Host: 213.203.156.37
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1064959351 11300024 213.203.156.37 (16 [193523])
User-Agent: 40tude_Dialog/2.0.5.133it (0092318a.363.206) Hamster/2.0.2.1
X-Face: (a4+af0-6{;Y.j"cd@Dd4>"^4m%3@{i9q``2C6u+X<MoECO,is%/20#=,W1GNl?cV{VRNHq 8R(oLuw0}7wz529riTkJr)e7|HQ;,6#38E.0?RNK@lalS$`R~U*WCoKU{<%@.b<nB?9IYXdBEaw}.9 Q/KtoYUiDiwpS2#68j@$N!BF#?1RHH|'/)KG);oH:${ZjLjGZG{d.ziq3|kLym?i$'ND(D