Article View: news.software.readers
Article #229977[slrn][tin] Automatically stripping "(was: )" et al.
From: Frank Slootweg
Date: Tue, 10 Feb 2009 13:52
Date: Tue, 10 Feb 2009 13:52
29 lines
2625 bytes
2625 bytes
Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Fri, 06 Feb 2009 15:18:21 +0100, Frank
> Slootweg <this@ddress.is.invalid> wrote:
[...]
> > And with tin, which uses this absolutely *trivial* regular expression:
> >
> > strip_was_regex=.\(([Ww]a[rs]|[Bb]y[l³]o):.*\)\s*$
>
> I use this in slrn (using S-Lang regexes, not PCRE):
>
> strip_was_regexp " ?[([][wW]as:.*[])]$"
>
> A combination of the two would probably be useful.
>
> Your method causes problems with
> foo(was: bar)
> which becomes
> fo
> and also with
> foo [was: bar]
> which isn't trimmed at all.
For the record: 'my' method isn't my method (I'm *way* too stupid for
that), but tin's/Urs' method, so any praise/criticism should go there.
I've ('incorrectly') changed the subject :-), so perhaps Urs will see
it.
> My method doesn't catch "war" or that pseudo-Cyrillic(?) stuff. That's
> why the two methods need to be combined.
Technical Details
Message-ID:
<3193c$499186b6$5ed00124$23414@cache6.tilbu1.nb.home.nl>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!feeder4.cambrium.nl!feed.tweaknews.nl!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!post1.tilbu1.nb.home.nl!cache6.tilbu1.nb.home.nl!not-for-mailReferences:
<pan.2009.01.05.14.38.21@shared-secrets.com> <slrngo9mn0.681.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Jan.31|9.29pm|q> <slrngobmau.aki.pjr@pjr.motzarella.org> <slrngoboud.9hm.steve@news.mixmin.net> <Jeff_Relf@Seattle.2009_Feb.1|1.21pm|s> <g0Sil.279$v8.233@bignews5.bellsouth.net> <1iuppq5.5qm0lr1lws1cbN%snipe@spambin.fsnet.co.uk> <slrn20090206081302.426.twooffive@may.eternal-september.org> <fb43$498c46ad$5ed00124$16396@cache5.tilbu1.nb.home.nl> <slrngp1k1i.9d9.pjr@pjr.gotdns.org>Show Full Headers
Complete Article Headers
Message-ID: <3193c$499186b6$5ed00124$23414@cache6.tilbu1.nb.home.nl>
Subject: [slrn][tin] Automatically stripping "(was: )" et al.
Date: Tue, 10 Feb 2009 14:52:54 +0100
From: Frank Slootweg <this@ddress.is.invalid>
References: <pan.2009.01.05.14.38.21@shared-secrets.com> <slrngo9mn0.681.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Jan.31|9.29pm|q> <slrngobmau.aki.pjr@pjr.motzarella.org> <slrngoboud.9hm.steve@news.mixmin.net> <Jeff_Relf@Seattle.2009_Feb.1|1.21pm|s> <g0Sil.279$v8.233@bignews5.bellsouth.net> <1iuppq5.5qm0lr1lws1cbN%snipe@spambin.fsnet.co.uk> <slrn20090206081302.426.twooffive@may.eternal-september.org> <fb43$498c46ad$5ed00124$16396@cache5.tilbu1.nb.home.nl> <slrngp1k1i.9d9.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!feeder4.cambrium.nl!feed.tweaknews.nl!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!post1.tilbu1.nb.home.nl!cache6.tilbu1.nb.home.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse.home.news@prolocation.net
Lines: 29
NNTP-Posting-Host: 94.208.1.36 (94.208.1.36)
NNTP-Posting-Date: Tue, 10 Feb 2009 14:52:54 +0100
X-Trace: 3193c499186b6fb75a48123414