Article View: news.software.readers
Article #886Re: rn 4.4 -- "k" when Subject is "."
From: Alexis Rosen
Date: Tue, 12 Nov 1991 11:29
Date: Tue, 12 Nov 1991 11:29
24 lines
1839 bytes
1839 bytes
msb@sq.sq.com (Mark Brader) writes:
>Or rather, a misfeature, for it was obviously intentional. The actual
>behavior fits *neither* of the descriptions above. What is actually
>done is that all metacharacters in the Subject line are *replaced* by
>dots, the subject is truncated to about 24 characters and prefixed by
>": *", and *then* it's treated as a regular expression. (And the match
>is unanchored, too; a k on "Subject: sex" will match "Subject: Re: which is
>best: sex, drugs, or rock & roll?".) You can see this by using K instead
>of k and looking at the KILL file entry generated.
>I think the reason Larry did it this way is simply that he only implemented
>searching by regular expressions and not matching against fixed strings.
Hm. Without debating whether or not the behavior is correct, I think he did
it this way so that it would match all the following subjects:
sex
Re: sex
Drugs (was: sex)
---
Alexis Rosen
Owner/Sysadmin, PANIX Public Access Unix, NYC
alexis@panix.com
{cmcl2,apple}!panix!alexis
Technical Details
Message-ID:
<1991Nov12.112945.27243@panix.com>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!purdue!sample.eng.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!cmcl2!panix!alexisReferences:
<55406@netnews.upenn.edu> <=*9Hwuzl3@cs.psu.edu> <55541@netnews.upenn.edu> <1991Nov10.065350.13117@sq.sq.com>Show Full Headers
Complete Article Headers
Message-ID: <1991Nov12.112945.27243@panix.com> Subject: Re: rn 4.4 -- "k" when Subject is "." Date: Tue, 12 Nov 1991 11:29:45 +0000 From: alexis@panix.com (Alexis Rosen) References: <55406@netnews.upenn.edu> <=*9Hwuzl3@cs.psu.edu> <55541@netnews.upenn.edu> <1991Nov10.065350.13117@sq.sq.com> 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!purdue!sample.eng.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!cmcl2!panix!alexis Newsgroups: news.software.readers Organization: PANIX Public Access Unix, NYC Lines: 24