🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #16085

Re: [Summary] Help composing trn killfile regexp

#16085
From: Larry W. Virden
Date: Thu, 16 Mar 1995 16:30
28 lines
1954 bytes
> /^Subject[ Re:]*[^a-z]*$/c:j
A note about this expression for those new to regular expressions.  It
does NOT mean Subject followed by an Re: .  It means every line in the
header which starts with the letters 'Subject' followed by 0 or more spaces,
R's, e's, or :'s, in any order, in any number of repetitions, followed by
0 or more characters, not a lower case a-z, followed by the end of the line.

Lines such as 

Subject: 123 ?

Subject: eee:     1040

etc. will also be junked.

It does however get things like

Subject: Re: Re: Re: STOP IT!

so it does the job quite nicely.  I am not trying to criticize the
nice job the folk did in coming up with it.  But just be careful how
you go about trying to extrapolate into new KILL file entries.
-- 
:s Larry W. Virden                 INET: larry.virden@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
Technical Details
Message-ID: <1995Mar16.163000.29974@chemabs.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!malgudi.oar.net!chemabs!lwv26
References: <D56v3v.HD1@discus.technion.ac.il> <1995Mar10.153517.15176@chemabs.uucp> <D5F4v1.3zt@discus.technion.ac.il> <D5J4Lx.2ww@discus.technion.ac.il>

Show Full Headers
Complete Article Headers
Message-ID: <1995Mar16.163000.29974@chemabs.uucp>
Subject: Re: [Summary] Help composing trn killfile regexp
Date: Thu, 16 Mar 1995 16:30:00 GMT
From: lwv26@cas.org (Larry W. Virden)
References: <D56v3v.HD1@discus.technion.ac.il> <1995Mar10.153517.15176@chemabs.uucp> <D5F4v1.3zt@discus.technion.ac.il> <D5J4Lx.2ww@discus.technion.ac.il>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!malgudi.oar.net!chemabs!lwv26
Newsgroups: news.software.readers
Content-Type: text/plain; charset=US-ASCII
Sender: lwv26@chemabs.uucp (Larry W. Virden)
Reply-To: lvirden@cas.org
Content-Transfer-Encoding: 7BIT
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-Version: 1.0
Lines: 28