🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199135

Re: Pan and SLRN score files - The difference?

#199135
From: Mike Dee
Date: Sat, 05 May 2007 03:43
52 lines
2681 bytes
On Fri, 04 May 2007 16:11:49 +0000, Bob the Burger-Builder wrote:

[...]
>> % 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> }
>> 	
>> %%% =================================

Note the double colon after Score (dunno about "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
>> 
>> %%% =================================

Ditch the [^\S] and ^ and $ and full addresses from your example. %BOS and
%EOS usually is auto-generated you don't need to use it either, unless you
really want it there.

[*]

Score:: =-9999
  From: idiot|bozo|pest

-- 
dee
Technical Details
Message-ID: <pan.2007.05.05.03.43.36.188000@emteedee.invalid>
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!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!aioe.org!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> <pan.2007.05.04.16.00.50.234281@Cuppa.tea> <pan.2007.05.04.16.12.23.289262@Cuppa.tea>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.05.03.43.36.188000@emteedee.invalid>
Subject: Re: Pan and SLRN score files - The difference?
Date: Sat, 05 May 2007 13:43:37 +1000
From: Mike Dee <mikedee@emteedee.invalid>
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> <pan.2007.05.04.16.00.50.234281@Cuppa.tea> <pan.2007.05.04.16.12.23.289262@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!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 52
NNTP-Posting-Host: LyV5kbJlpUEzvIoDmGyNaQ.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-NFilter: 1.2.0
X-Face: GhI6&E:z?n'nsrlV?_qRS8g-i]71D$aM}SVfk2cj_iiOv@clRO[J?AAt6pJ~iY04t7xqkM^
 !/\xftD${tz]U>!0x<jZZUSDT:"", `ce2FQ\Poa$zV]M5FDYIf7o5hj[we@QNzuSc=,
 "Zfx.Pe'w'M Vnz9|hwP^pycp$"m
User-Agent: Pan 0.14.2 (NewsProxy 1.2.0, Win32, GTK+)