🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #234812

Re: [slrn] Can I make a rule that will auto-ignore all follow-ups to a certain author?

#234812
From: Peter J Ross
Date: Wed, 29 Jul 2009 18:55
29 lines
2510 bytes
In news.software.readers on Wed, 29 Jul 2009 05:40:14 +0000 (UTC),
ShadowTek <ShadowTek@invalid.invalid> wrote:

> But now I've gotten to a part that involes complex string functions that
> I'm unfamiliar with:
>
>    variable expression = "(string_match("+hdr+
>      ",\"[^ ]+ +[^ ]+ +<.+@.+>\",1) == 0) and (string_match("+hdr+
>      ",\"peter\\.bergt\",1) == 0) and (string_match("+hdr+
>      ",\".+@.+ +([^ ]+ [^ ]+.+)\", 1) == 0)";
>
> Can anyone explain what's going on here, step-by-step?

What's going on it that strings are being tested to see if they match
specified regular expressions.

> I don't know whether things are being used from slang, or slrn, or what.
>
> For instance, where can I 
> find a reference to the functionallity that [^ ] provides?

<http://www.s-lang.org/doc/html/slang-22.html>


-- 
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID: <slrnh716p0.idc.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail
References: <guhtt9$82j$1@news.motzarella.org> <slrnh0p4lk.9q2.catwheezel@ID-107770.user.individual.net> <slrnh6sm2b.be4.ShadowTek@desktop.localdomain> <20090729080451@usenet.piggo.com> <slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain>

Show Full Headers
Complete Article Headers
Message-ID: <slrnh716p0.idc.pjr@pjr.gotdns.org>
Subject: Re: [slrn] Can I make a rule that will auto-ignore all follow-ups to a certain author?
Date: Wed, 29 Jul 2009 19:55:28 +0100
From: Peter J Ross <pjr@example.invalid>
References: <guhtt9$82j$1@news.motzarella.org> <slrnh0p4lk.9q2.catwheezel@ID-107770.user.individual.net> <slrnh6sm2b.be4.ShadowTek@desktop.localdomain> <20090729080451@usenet.piggo.com> <slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 29
Reply-To: Peter J Ross <peadar.ruadh@gmail.com>
X-Trace: news.eternal-september.org
 U2FsdGVkX1/h9IohP3GO2ZPxkvKXIoKaEAQ7LdW5DuRb/JSj/c7o2E/iqUPxAJ3nHArA4YNpSwTzBsytD2zjEWJcf3l5II8mjmlr1Rr8xt5iyPQ/50xej+00ov2hFMVUAeFNqoSHtoo=
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Wed, 29 Jul 2009 19:05:20 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/5dA4GyWUjvg4Q8ooZZxPw
Cancel-Lock: sha1:H9Yf9XXTIsWobG9Z9mz7P/jo6lQ=
User-Agent: slrn/pre1.0.0-11 (Linux)