Article View: news.software.readers
Article #202381Re: Changing the subject header of a thread?
From: Adam Funk
Date: Tue, 24 Jul 2007 19:17
Date: Tue, 24 Jul 2007 19:17
33 lines
2182 bytes
2182 bytes
On 2007-07-13, Peter J Ross wrote: >>>> Also a good newsreader (like mine :-)), will automatically strip the >>>> "(was: ...)" part when you're responding. I.e. only *one* article will >>>> have "(was: ...)", the article in which the Subject: is changed. >>> >>> Interesting! (Obviously slrn doesn't do that, or I wouldn't be asking >>> the question.) >> >> Oh yes it does! >> >> <http://slrn.sourceforge.net/manual/slrn-manual-5.html#strip_was_regexp> Indeed, and thanks for pointing that out! > Sorry, I should have given an example, since the one in the manual is > rather basic: > > strip_was_regexp " ?[([][wW]as:.*[])]$" > > These regexes differ from the ones used in slrn's scorefile by being > case-sensitive (the s-lang default). The two "[]" in that regexp work really me at first, but I think I've figured out that the pattern should be read thus: " ?" optional space "[([]" either a ( or a [ "[wW]as:.*" obvious meaning "[])]$" either a ] or a ) then the end of the line Right? How does that last one work without escaping anything?
Technical Details
Message-ID:
<lqvhn4-1u3.ln1@news.ducksburg.com>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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<d9lim4-kie.ln1@news.ducksburg.com> <4697cc80$1$79675$dbd41001@news.wanadoo.nl> <gq3lm4-8ja.ln1@news.ducksburg.com> <slrnf9fr8c.ec7.pjr@pjr.gotdns.org> <slrnf9fs71.r4c.pjr@pjr.gotdns.org>Show Full Headers
Complete Article Headers
Message-ID: <lqvhn4-1u3.ln1@news.ducksburg.com> Subject: Re: Changing the subject header of a thread? Date: Tue, 24 Jul 2007 20:17:09 +0100 From: Adam Funk <a24061@ducksburg.com> References: <d9lim4-kie.ln1@news.ducksburg.com> <4697cc80$1$79675$dbd41001@news.wanadoo.nl> <gq3lm4-8ja.ln1@news.ducksburg.com> <slrnf9fr8c.ec7.pjr@pjr.gotdns.org> <slrnf9fs71.r4c.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!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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 33 X-Trace: individual.net M3rpWyDpBee/yPAvRF2eCAKqcWp03PodyNKkIevQWXSCRSxVmD X-Orig-Path: news.ducksburg.com!news Cancel-Lock: sha1:smEKCQtlVW1mFEYxMqFBNfgZXGk= User-Agent: slrn/0.9.8.1pl1 (Debian)