🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199103

Re: Pan - custom score filters (more on)

#199103
From: Bob the Burger-Builder
Date: Fri, 04 May 2007 17:44
44 lines
3218 bytes
Peter J Ross <pjr@example.invalid> apparently said ...:

> In news.software.readers on Fri, 04 May 2007 12:12:13 GMT, Bob the
> Burger-Builder <Burger@Build.dur> wrote:
> 
>> And so I'm back once again to the horizontal list I've got working in
>> pcre format, and how do I turn it into multiple lines whithout breaking
>> prce syntax?
> 
> I've given my best attempt at an answer upthread, but I'll add that you
> seem to be misunderstanding which parts of the scorefile are regexes.

This could be true.
 
> In
> 	Score:: -9999
> 	From: bozo@example\.com
> 	From: idiot@example\.com
> there are two separate regexes, each of which doesn't start until after
> "From: ".

I think I might have an idea of what you mean here but, if you've seen the
examples I've posted up you'll maybe have seen the problems I've
(hopefully) solved, and the one I'm still stuck with, namely, how to break
a line of this|that|other into
	
	this
	that
	other

without stalling the score file in Pan. IOW, how to "fool" Pan into
reading sequential lines as if they were the same line, a bit like \n in
bash scripts.


>> s-lang is comparativly easy compared to pcre IMO, but this might be
>> because I'm more used to SLRN score files.
> 
> It might also be because S-Lang's regexes are the most primitive I've
> seen except in basic grep, while PCRE's are among the most advanced.

Ah! Then we're looking at possibly more sophisticated stuff? I KNEW there
was an incompatibility thing going on here! Surgical equipment versus a
lump hammer?
Technical Details
Message-ID: <pan.2007.05.04.17.45.17.500343@Cuppa.tea>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!cyclone1.gnilink.net!gnilink.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!216.196.110.148.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!fe2.news.blueyonder.co.uk.POSTED!53ab2750!not-for-mail
References: <pan.2007.05.03.22.11.29.908092@Cuppa.tea> <pan.2007.05.04.01.20.01.782000@emteedee.invalid> <Xns992676450BFD8emteedee@news.datemas.de> <pan.2007.05.04.10.06.10.364979@Cuppa.tea> <Xns9926D41DFB420emteedee@194.177.96.26> <pan.2007.05.04.12.12.50.29182@Cuppa.tea> <slrnf3mnp6.cvt.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.04.17.45.17.500343@Cuppa.tea>
Subject: Re: Pan - custom score filters (more on)
Date: Fri, 04 May 2007 17:44:41 GMT
From: Bob the Burger-Builder <Burger@Build.dur>
References: <pan.2007.05.03.22.11.29.908092@Cuppa.tea> <pan.2007.05.04.01.20.01.782000@emteedee.invalid> <Xns992676450BFD8emteedee@news.datemas.de> <pan.2007.05.04.10.06.10.364979@Cuppa.tea> <Xns9926D41DFB420emteedee@194.177.96.26> <pan.2007.05.04.12.12.50.29182@Cuppa.tea> <slrnf3mnp6.cvt.pjr@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!cyclone1.gnilink.net!gnilink.net!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!216.196.110.148.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!fe2.news.blueyonder.co.uk.POSTED!53ab2750!not-for-mail
Organization: Hicksian Dynamics Unlimited
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)
Newsgroups: news.software.readers
Reply-To: void@dev.nul
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 44
NNTP-Posting-Host: 82.47.150.87
X-Complaints-To: http://www.virginmedia.com/netreport
X-Trace: fe2.news.blueyonder.co.uk 1178300681 82.47.150.87 (Fri,
NNTP-Posting-Date: Fri, 04 May 2007 18:44:41 BST