🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28189

Re: slrn, score based on number of replies

#28189
From: John E. Davis
Date: Sat, 07 Dec 1996 00:00
29 lines
1357 bytes
On 6 Dec 1996 22:16:13 GMT, Reality is a point of view <gjohnson@dream.season.com>
wrote:
>	Score: -1
>		References: \<
>	Score: 2
>		References: \<.*\<
>	Score: -3
>		References: \<.*\<.*\<.*\<
>
>would work.  The \ might not be necessary.

The regular expression \< indicates a word boundary, so definitely
omit the \ character.  To match exactly one `<' in the References
header, use:

   References: ^[^<]*<[^<]*$

To match exactly two, use:

   References: ^[^<]*<[^<]*<[^<]*$

and so on.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Technical Details
Message-ID: <slrn5ajjg5.ncg.davis@aluche.mit.edu>
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
References: <slrn5a9fv3.ntm.aludeman@octavian.ics.uci.edu> <slrn5ah6pq.a7.gjohnson@dream.season.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5ajjg5.ncg.davis@aluche.mit.edu>
Subject: Re: slrn, score based on number of replies
Date: Sat, 07 Dec 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn5a9fv3.ntm.aludeman@octavian.ics.uci.edu> <slrn5ah6pq.a7.gjohnson@dream.season.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: 202886330
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers