Article View: news.software.readers
Article #35276Re: trn -- killfile/regular expressions question
From: Natalie Ramsey
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
38 lines
1708 bytes
1708 bytes
: I've tried using the following:
: /.\{3,\}/j
: To kill any article containing three consecutive occurrences of the same
: character (e.g., XXX, !!!, etc.). Unfortunately, it doesn't work.
: This is under FreeBSD 2.2-STABLE with trn 4 test 58.
: Any ideas, anyone?
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'm using strn 0.9.2 on HP-UX (of course :-) 9.03.
I could use ideas as well.
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:
<5qokt9$ksd$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>Show Full Headers
Complete Article Headers
Message-ID: <5qokt9$ksd$1@nonews.col.hp.com> Subject: Re: trn -- killfile/regular expressions question Date: Fri, 18 Jul 1997 00:00:00 +0000 From: natalie@col.hp.com (Natalie Ramsey) References: <tgsaq5.nfg.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: 257671312 Organization: HP Colorado Springs Division Newsgroups: news.software.readers