🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199092

Re: Pan and SLRN score files - The difference?

#199092
From: Bob the Burger-Builder
Date: Fri, 04 May 2007 16:00
68 lines
3204 bytes
Mike Dee <mikedee@emteedee.invalid> apparently said ...:

> Bob the Burger-Builder <Burger@Build.dur> wrote:
> 
> [...]
>> What I'm trying to do is write a custom scorefile in the syntax Pan
>> requires, which is not the same syntax as in SLRN, for which I alread
>> have a lovely combination of score files, which don't translate.
> 
> Then stop using the "Custom Filters" dialog to do this.

As I've already mentioned, I'm not using that.

> 
> And give an example of what "doesn't translate" for you.

Ok. Samples coming up,

%%% =================================

% SLRN (s-lang syntax)

include score.more

[*]

Score: =-9999	% Just nuked...
	{::
	Subject: nastyword
	Subject: badword
	From: Idiot <idiot@nut\.yob>
	From: Goofball <goofy@dosniworld.moc>
	}

%%% =================================

The nearest I've got to duplicating this in Pan
(pcre syntax) is something like:

%%% =================================

%BOS
[^\S] % PLONK in all groups
Score: =-9999
From: ^"Idiot" <idiot@aol\.con>|"Bozo"<bozo@hotmail.con>|"Pest" <pest@yahoo.con>$
%EOS

%%% =================================

You can see that one long horizontal line is a bit of a
pain to edit, and I'm only stuck for the appropriate pcre
instruction to ignore a line break as if reading
continuing data to get:


%BOS
[^\S] % PLONK in all groups
Score: =-9999
From: ^"Idiot" <idiot@aol\.con>NOBREAK
|"Bozo"<bozo@hotmail.con>NOBREAK
|"Pest" <pest@yahoo.con>$
%EOS


So my question is, what, in pcre syntax, is the NOBREAK
thingie?

Got any ideas?
Technical Details
Message-ID: <pan.2007.05.04.16.00.50.234281@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!wns13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!cycny01.gnilink.net!hwmnpeer01.lga!hwmnpeer01.ams!news.highwinds-media.com!feed.xsnews.nl!border-1.ams.xsnews.nl!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.11.40.26.188353@Cuppa.tea> <pan.2007.05.03.15.06.43.187000@emteedee.invalid> <pan.2007.05.03.16.11.27.775701@Cuppa.tea> <pan.2007.05.04.02.55.00.766000@emteedee.invalid> <pan.2007.05.04.10.21.46.303466@Cuppa.tea> <Xns9926D55DC35BCemteedee@194.177.96.26>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.04.16.00.50.234281@Cuppa.tea>
Subject: Re: Pan and SLRN score files - The difference?
Date: Fri, 04 May 2007 16:00:16 GMT
From: Bob the Burger-Builder <Burger@Build.dur>
References: <pan.2007.05.03.11.40.26.188353@Cuppa.tea> <pan.2007.05.03.15.06.43.187000@emteedee.invalid> <pan.2007.05.03.16.11.27.775701@Cuppa.tea> <pan.2007.05.04.02.55.00.766000@emteedee.invalid> <pan.2007.05.04.10.21.46.303466@Cuppa.tea> <Xns9926D55DC35BCemteedee@194.177.96.26>
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!wns13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!cycny01.gnilink.net!hwmnpeer01.lga!hwmnpeer01.ams!news.highwinds-media.com!feed.xsnews.nl!border-1.ams.xsnews.nl!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: 68
NNTP-Posting-Host: 82.47.150.87
X-Complaints-To: http://www.virginmedia.com/netreport
X-Trace: fe2.news.blueyonder.co.uk 1178294416 82.47.150.87 (Fri,
NNTP-Posting-Date: Fri, 04 May 2007 17:00:16 BST