🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #860

.*

#860
From: David Barr
Date: Thu, 07 Nov 1991 00:54
39 lines
2423 bytes
In article <55541@netnews.upenn.edu>, rsk@chestnut.circ.upenn.edu (Rich
Kulawiec) says:

>In article <=*9Hwuzl3@cs.psu.edu> dsbarr@elostirion.endor.cs.psu.edu (David S
>Barr) writes:
>>Which is exactly his point!  Shouldn't 'k' escape any periods it sees?
>>Hitting 'k' on a "Subject: ." should do a "/\./j", not a "/./j"

>To answer your question: no, I don't think so.  I think keeping the
>behavior consistent (i.e. treating "." as the metacharacter which
>matches ay single character) regardless of the context is cleaner
>than making exceptions (such as treating metacharacters encountered
>on "Subject" or other header lines differently).

Is it just me, or does this sound totally bogus?  Since when is this
'consistent behavior'?  If I have a subject line of
Subject: This .... is dumb!

Since when is it 'consistent' behavior to have rn kill the subject
in a different thread of:
Subject: This tree is dumb!

Which, according to the present scenario, would occur.  If you want
to see what I'm talking about, try to use K on this subject line.
(We'll see a drop in readership of THIS group  :-)

A simple and consistent behavior would be to go through the subject line
and escape any metacharacters with \'s when building the regexp from the
Subject line.

Therefore if you would K this thread, the command deposited in the KILL
file should be '/: \.\*/j'

Note this need only applies to the subject line, since we are only talking
about the behavior of 'k' and 'K'.  (I think someone is confused)
Noone is suggesting any changes of the regular expression behavior once
the command is IN the KILL file.

--Dave
Technical Details
Message-ID: <91310.195408DSB100@psuvm.psu.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!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!rutgers!ub!zaphod.mps.ohio-state.edu!malgudi.oar.net!yfn.ysu.edu!ysub!psuvm!dsb100
References: <1991Nov4.225056.11192@mel.dit.csiro.au> <55406@netnews.upenn.edu> <=*9Hwuzl3@cs.psu.edu> <55541@netnews.upenn.edu>

Show Full Headers
Complete Article Headers
Message-ID: <91310.195408DSB100@psuvm.psu.edu>
Subject: .*
Date: Thu, 07 Nov 1991 00:54:08 +0000
From: DSB100@psuvm.psu.edu (David Barr)
References: <1991Nov4.225056.11192@mel.dit.csiro.au> <55406@netnews.upenn.edu> <=*9Hwuzl3@cs.psu.edu> <55541@netnews.upenn.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!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!rutgers!ub!zaphod.mps.ohio-state.edu!malgudi.oar.net!yfn.ysu.edu!ysub!psuvm!dsb100
Newsgroups: news.software.readers
Organization: Penn State University
Lines: 39
X-Bill-Fenner-Quote: Duh. VMS.