Article View: news.software.readers
Article #35377Re: trn -- killfile/regular expressions question
From: Natalie Ramsey
Date: Mon, 21 Jul 1997 00:00
Date: Mon, 21 Jul 1997 00:00
45 lines
2176 bytes
2176 bytes
In article <jgfrq5.lv4.ln@dolphin.neosoft.com>,
Conrad Sabatier <conrads@neosoft.com> wrote:
>In article <5qokt9$ksd$1@nonews.col.hp.com>,
>Natalie Ramsey <natalie@col.hp.com> wrote:
>>
>>I've got the same sort of problem in strn -- I'm trying to write
>>scorefile expressions that catch followups to more than 4 groups,
>>using
>>
>>-10 pattern followup-to: \(,[^,]*\)\{4,\}
>>
>>or something like it (I'm typing from memory here), and in the
>>experimentation I've done, strn doesn't seem to understand quantifiers
>>at all. It won't even match \w\{1\} to anything that has a followup-to
>>line.
>>
>>I could use ideas as well.
>
>Well, *your* problem is easily solved by using the regular expression:
>
>,.*,.*,.*,
>
Actually, I did try that. My problem is that I'm trying to use this
in the scorefile rather than the killfile, and it doesn't seem to
understand the * quantifier either.
-1 pattern followup-to: .*
is the current (desperation/experimentation) version of the line, and
it yields no matches. I've also tried .\*, which also doesn't work.
Would slrn allow me to do this in a reasonable fashion, if strn won't?
Blessings,
Natalie
--
Natalie Overstreet Ramsey ---- <natalie@col.hp.com>
Please cc all replies by email as site expiration is measured in nanoseconds.
All quotes of this article must include the following disclaimer:
The author of this article is not speaking for the Hewlett-Packard Company.
Technical Details
Message-ID:
<5r009p$fo$1@nonews.col.hp.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<tgsaq5.nfg.ln@dolphin.neosoft.com> <5qokt9$ksd$1@nonews.col.hp.com> <jgfrq5.lv4.ln@dolphin.neosoft.com>Show Full Headers
Complete Article Headers
Message-ID: <5r009p$fo$1@nonews.col.hp.com> Subject: Re: trn -- killfile/regular expressions question Date: Mon, 21 Jul 1997 00:00:00 +0000 From: natalie@col.hp.com (Natalie Ramsey) References: <tgsaq5.nfg.ln@dolphin.neosoft.com> <5qokt9$ksd$1@nonews.col.hp.com> <jgfrq5.lv4.ln@dolphin.neosoft.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 258004094 Organization: HP Colorado Springs Division Newsgroups: news.software.readers