Article View: news.software.readers
Article #203228Re: Filtering Google Groups: I give up :-)
From: Peter J Ross
Date: Sun, 05 Aug 2007 21:11
Date: Sun, 05 Aug 2007 21:11
37 lines
3374 bytes
3374 bytes
In news.software.readers on Sun, 5 Aug 2007 10:59:27 +0200 (CEST), Stefano Sabatini <stefano.sabatini@caos.org> wrote: > From slang.txt (sorry for the ugly escape sequences chars, it seems a > problem of the document in Debian): Try reading the file with "less -R" instead of "less". This should interpret the escape sequences as bold text on/off. > NOTE: At the moment, the ESC[1mS-Lang ESC[22mregular expressions do not support > UTF-8 encoded strings. The ESC[1mS-Lang ESC[22mlibrary will most likely migrate to > the use of the PCRE regular expression library, deprecating the use of > the ESC[1mS-Lang ESC[22mREs in the process. For these reasons, the user is > encouraged to make use of the pcre module if possible. > > Question: does someone know if it is already possible to use the > abovementioned module with SLRN (I'm starting just now to use, SLRN, > maybe I can still avoid to learn another RE syntax ;-)). Yes, it's possible, by using a macro for scoring instead of the scorefile. See this thread: <http://groups.google.co.uk/group/news.software.readers/browse_thread/thread/3f7bbbe506330cd/37ded31288e52822%2337ded31288e52822> However, note (a) that the discussion took place in 1997, and both s-lang and slrn have changed significantly since then; and (b) it's likely to take a lot longer to set up scoring this way than to learn the basics of s-lang regular expressions. I'd like to see an option to use PCRE in slrn scorefiles - in fact I'd like to see an agreed common format for scorefiles, based on PCRE, that could be shared between different newsreaders - but I don't think it's likely to happen before the release of slrn 1.0, because it's a feature change rather than a bugfix. -- PJR :-)
Technical Details
Message-ID:
<slrnfbcf80.kuf.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailReferences:
<slrnfb57r2.eff.andrew@ilium.invalid> <slrnfb5a0t.lor.no.spam@thurston.blinkynet.net> <slrnfb5ac8.fni.andrew@ilium.invalid> <slrnfb5gcf.lor.no.spam@thurston.blinkynet.net> <Xns998132E0955FElostthreads@216.196.97.136> <20070803192349@usenet.piggo.com> <Xns99813B70D34F3lostthreads@216.196.97.136> <slrnfb5vml.mdj.andrew@ilium.invalid> <Xns99814080AD7A2lostthreads@216.196.97.136> <slrnfb6nsm.4vm.no.spam@thurston.blinkynet.net> <slrnfb6uo8.ctl.pjr@pjr.gotdns.org> <lqcfo4-qeh.ln1@news.ducksburg.com> <slrnfbb4bf.k3a.stefano.sabatini@santefisi.caos.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnfbcf80.kuf.pjr@pjr.gotdns.org> Subject: Re: Filtering Google Groups: I give up :-) Date: Sun, 05 Aug 2007 21:11:28 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnfb57r2.eff.andrew@ilium.invalid> <slrnfb5a0t.lor.no.spam@thurston.blinkynet.net> <slrnfb5ac8.fni.andrew@ilium.invalid> <slrnfb5gcf.lor.no.spam@thurston.blinkynet.net> <Xns998132E0955FElostthreads@216.196.97.136> <20070803192349@usenet.piggo.com> <Xns99813B70D34F3lostthreads@216.196.97.136> <slrnfb5vml.mdj.andrew@ilium.invalid> <Xns99814080AD7A2lostthreads@216.196.97.136> <slrnfb6nsm.4vm.no.spam@thurston.blinkynet.net> <slrnfb6uo8.ctl.pjr@pjr.gotdns.org> <lqcfo4-qeh.ln1@news.ducksburg.com> <slrnfbb4bf.k3a.stefano.sabatini@santefisi.caos.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail Newsgroups: news.software.readers Organization: none Reply-To: pjr.spam@gmail.com User-Agent: slrn/0.9.8.1pl2.1 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 37 NNTP-Posting-Date: 05 Aug 2007 16:11:28 CDT X-Trace: DXC=b?W5DceADI71il`m_OCB_4]AGWjF5PjP9465Ue@WB_5?[F?LPZgFCW326Z<EbT:a\52XQX54M@Pf2kDhH; 9a4AY77nh^Ba:OXj6 X-Original-Bytes: 3074