🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #133226

Re: [slrn] identity.sl macro

#133226
From: Emmanuele Bassi
Date: Fri, 12 Sep 2003 12:17
34 lines
2657 bytes
* Tobias Mummert [2003-09-11 08:56]:

>> Try using the tilde (~) in place of the exclamation mark, and removing
>> the parenthesis.
> 
> Thanks Emmanuele, but I've tried that before - with no positive effect.

Then, alas, you'll have to wait until a new release of the S-Lang
library hits my box: I'll release a version of identity which uses PCRE
for pattern matching as soon as SLRN is built against the PCRE module.

> The 'problem' is, that the de.* hierarchy *is* actually my default one,
> so I've defined the values for that hierarchy in my .slrnrc.
> After that, I wanted to cover all the non-default values (i.e. the news.*,
> rec.*, alt.* groups) with your identity.sl macro. I thougt, the best way
> to match these groups with a regular expression would simply be a "non
> de.*" expression.

I understand, now.

You'll have to create a "non-de" identity matching a hierarchy, in it
setting the values you want to be different, and then clone that
identity for each hierarchy.

I could provide a flag for "inverting" internally the regexp match, but
that would be an ugly hack.

Bye,
 Emmanuele.

-- 
Emmanuele Bassi           [ http://digilander.libero.it/ebassi/slrn.html ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432 0FF4
Technical Details
Message-ID: <slrnbm3chg.a0t.zefram@wolverine.lohacker.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <slrnbls6ae.33l.teergrube@doczook.de> <slrnblub8s.6ar.zefram@wolverine.lohacker.net> <slrnbm0740.1qi.teergrube@doczook.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbm3chg.a0t.zefram@wolverine.lohacker.net>
Subject: Re: [slrn] identity.sl macro
Date: Fri, 12 Sep 2003 12:17:08 GMT
From: Emmanuele Bassi <zefram@wolverine.lohacker.invalid>
References: <slrnbls6ae.33l.teergrube@doczook.de> <slrnblub8s.6ar.zefram@wolverine.lohacker.net> <slrnbm0740.1qi.teergrube@doczook.de>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
Lines: 33
Reply-To: Emmanuele Bassi <emmanuele.bassi@iol.it>
X-Face: &2.Q,Qgj{KA*q4G%p`*s`1f!hjGTi-9~Ju,L^d#P49tt}?jS(h@;s/K/]gc?bi-9=>%E\6#?o&[Kmng:@W+8W4y6dCuyl?L>k3i7D
X-OS-Name: Linux 2.6.0-test4-mm4 #2 Sun Aug 31 23:48:34 CEST 2003
X-Uptime: 13:40:41 up 3:55, 5 users, load average: 0.04, 0.17, 0.24
User-Agent: slrn/0.9.7.4pl1-eb2 (Linux)
NNTP-Posting-Host: 151.29.196.202
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1063369028 151.29.196.202 (Fri, 12 Sep 2003 14:17:08 MET DST)
NNTP-Posting-Date: Fri, 12 Sep 2003 14:17:08 MET DST
Organization: [Infostrada]