Article 14380 of alt.sex.cthulhu: From: armageddon@dial.fnord.pipex.com (Chris Suslowicz) Newsgroups: alt.sex.cthulhu,alt.sex.hello-kitty,alt.fan.richard-nixon,alt.fan.tito,alt.misc Subject: Re: WAR JOURNAL: My battle with the spammers - Kill Filter (LONG) Date: Wed, 12 Mar 1997 20:23:34 +0000 In article , tpfh23@io.com (TPFH - rm 23 to email) wrote: >How do you do the ALL CAPS filter? I assume that you are using regular >expressions and that it will work for YA Newswatcher. > He He He... try "^[^a-z]+$" (without the double quote marks at either end) as a regular expression. there's another one that includes an optional "Re:" on the front to kill replies to all cap subjects as well. Basically, you exclude all messages that do NOT have a lowercase alpha in the subject. One moment while I trawl the comp.sys.mac.comm messagebase for YA-NW filters.. Here we go, actual YA Newswatcher stuff. Enjoy: From: smfr@santafe.edu (Simon Fraser) Newsgroups: comp.sys.mac.comm Subject: Re: Killing headers in ALL CAPS Date: Sun, 23 Feb 1997 11:37:48 -0700 Organization: Santa Fe Institute Lines: 33 Message-ID: References: NNTP-Posting-Host: smfr.santafe.edu X-Newsreader: MT-NewsWatcher 2.3d2 Xref: join.news.pipex.net!pipex comp.sys.mac.comm:136845 In article , esfelipe@loop.com wrote: : In article , smfr@santafe.edu : (Simon Fraser) wrote: > : > Try this one (drag capable for MT-NW users): : > : > # : > GROUP=. : > KEPT=kFalse : > # : > STRING=^(Re: )?[^a-z]+$ : > HEADER=subject : > MATCH=kRegExp : > EXPIRE=0 : > IGNORECASE=kFalse : > SCORE=0 : > LABEL=33 : > # : > : > It also kills replies to articles in ALL CAPS, since the Re: inserts : > a non cap. : > : > Simon : What is 'LABEL=33'? This ensures that later (post 2.2.2) versions of MT will correctly import the filter as a kill filter. The YA filter text format has no ACTION field, and instead encodes the filter action in the label: 0-31=hilite, 32=keep, 33=kill. Simon And another snippet..... From: link@tss.no (Terje Bless) Newsgroups: comp.sys.mac.comm Subject: Re: Killing headers in ALL CAPS Date: Sun, 23 Feb 1997 18:02:04 +0100 Organization: TSS ltd. Lines: 13 Message-ID: References: NNTP-Posting-Host: rte-pm.tss.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.5.0b4 Xref: join.news.pipex.net!pipex comp.sys.mac.comm:136830 In article , smfr@santafe.edu (Simon Fraser) wrote: >STRING=^(Re: )?[^a-z]+$ And if you change the '+' into '*' you'll also kill all articles (and replies to articles) with no (empty) Subject line. Having four functions in one, this regex is one of the most usefull to have. I guess it's FAQish material. -- Party? Party, lord? Yes, lord. Right away, lord. - Beopunk Cyberwulf >(if you read news on a mac (as opposed to telneting and using a unix >newsreader) YA Newswatcher has GREAT filter/score abilities) > I do (the trusty IIci), but I'm using NewsHopper so I can do it offline. Saves money on the 'phone bill. Best, Chris. --- Stockhausen is terrible; especially when you tread in it.