🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6407

TRN: Killfile Question

#6407
From: Jeremy Mathers
Date: Mon, 08 Nov 1993 17:52
30 lines
1886 bytes
I would like to be able to select articles based on sender.  So have
lines like:

/^From.*Kamsky/h+

in my killfile.  Now, I would like to be able to select on more than one
user in this group.  I could of course, repeat the line above for each
user but that seems messy and inefficient.  What I would like to is:

/^From.*\(User1\|User2\|User3\)/h+

I.e., match From followed by any of the 3 usernames.  But "man trn"
tells me that:

	... matched.   Up  to  10  alternatives  may given in a pattern,
	separated by \|, with the caveat  that  \( ... \| ... \)  is
	illegal.

Now, I ask you, of what value is the \( ... \) construct if not for this?
Seriously, isn't this one of the more common applications of this sort
of reg exp?  And, can this thing be done (in trn 2.2)?

************************************************************************
La plus belle fille du monde ne peut
donner que tout ce qu'elle a.

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer
Technical Details
Message-ID: <1993Nov8.175215.6637@midway.uchicago.edu>
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!linac!uchinews!quads!pynq

Show Full Headers
Complete Article Headers
Message-ID: <1993Nov8.175215.6637@midway.uchicago.edu>
Subject: TRN: Killfile Question
Date: Mon, 8 Nov 1993 17:52:15 GMT
From: pynq@quads.uchicago.edu (Jeremy Mathers)
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!linac!uchinews!quads!pynq
Newsgroups: news.software.readers
Summary: Is this the right group?
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: pynq@midway.uchicago.edu
Organization: D. J. Dougherty & Associates
Lines: 30