Article View: news.software.readers
Article #133103Re: [slrn] identity.sl macro
From: Emmanuele Bassi
Date: Wed, 10 Sep 2003 13:55
Date: Wed, 10 Sep 2003 13:55
29 lines
2297 bytes
2297 bytes
* Tobias Mummert [2003-09-09 20:17]:
> My question is: What's the regular expression matching all non de.*
> hierachy groups?
>
> identity->add_new ("non-german", "!(^de\.)");
>
> is not working.
Try using the tilde (~) in place of the exclamation mark, and removing
the parenthesis.
I must admit that I fail to see the point in setting a variable for
"!de.*": just set the signature you want on all hierarchies *but* de.*
as a default inside your slrnrc, and then set the signature for de.*
using identity. If you need another hierarchy to use the "de.*"
signature, just clone the identity and change the regular expression.
At least, that's how I use identity: the values inside the slrnrc file
are meant as defaults (duh!); each and every exception from the default
should be handled using the identity macro.
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:
<slrnblub8s.6ar.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-mailReferences:
<slrnbls6ae.33l.teergrube@doczook.de>Show Full Headers
Complete Article Headers
Message-ID: <slrnblub8s.6ar.zefram@wolverine.lohacker.net>
Subject: Re: [slrn] identity.sl macro
Date: Wed, 10 Sep 2003 13:55:10 GMT
From: Emmanuele Bassi <zefram@wolverine.lohacker.invalid>
References: <slrnbls6ae.33l.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: 28
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: 15:46:59 up 2:07, 7 users, load average: 0.22, 0.40, 0.46
User-Agent: slrn/0.9.7.4pl1-eb2 (Linux)
NNTP-Posting-Host: 151.29.199.49
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1063202110 151.29.199.49 (Wed, 10 Sep 2003 15:55:10 MET DST)
NNTP-Posting-Date: Wed, 10 Sep 2003 15:55:10 MET DST
Organization: [Infostrada]