🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #42718

[slrn] those darned regexps again

#42718
From: Ian Zimmerman
Date: Fri, 14 Aug 1998 00:00
28 lines
1271 bytes
I tried to add a score entry to match articles with subjects all in
uppercase.  (We know what they usually are :)  I tried the following:

a/ 	Subject: ^[^:]+: [^a-z]*$

b/	Subject: ^[^a-z]*$

c/	Subject: [^a-z]*$

None of them does what I want.
My questions:

1/ does the string matched in scoring include the header name (e.g.,
"Subject: ")?

2/ does the "^" anchor match at the beginning of a header string?

3/ what the h*ll else am I doing wrong?

4/ now does anybody see why I pine for GNU/Emacs regexps?

-- 
Ian T Zimmerman                        <itz@rahul.net>
I came to the conclusion that what was wrong about the guillotine
was that the condemned man had no chance at all, absolutely none.
Albert Camus, _The Outsider_

Technical Details
Message-ID: <slrn6t8s6m.uoq.itz@kronstadt.rahul.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrn6t8s6m.uoq.itz@kronstadt.rahul.net>
Subject: [slrn] those darned regexps again
Date: Fri, 14 Aug 1998 00:00:00 +0000
From: itz@kronstadt.boxmail.com (Ian Zimmerman)
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: 381171533
Organization: a2i network
Newsgroups: news.software.readers