Thread View: news.software.readers
4 messages
4 total messages
Started by Stefan Kersten
Mon, 27 Mar 2000 00:00
[slrn] RE's in slrnpull score file
Author: Stefan Kersten
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
23 lines
1332 bytes
1332 bytes
I didn't find anything in the documentation concerning this: Do slrn/slrnpull use egrep-style RE's or old ex-style RE's in their score files? I tried to sort out all article not relating to slrn in news.software.readers via Score: -9999 ~Subject: (slrn|SLRN|Slrn) but I believe it doesn't work (since I did not receive any articles at all ;). Any comments? <sk> -- K )---+---( H )( O )( R )( N )( Z ) | +-( http://www.k-hornz.de ) +--------( steve@k-hornz.de ) +( le fonque le plus kool )
Re: [slrn] RE's in slrnpull score file
Author: John E. Davis
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
15 lines
1355 bytes
1355 bytes
On 27 Mar 2000 16:18:06 GMT, Heikki Kantola <hezu@iki.fi> wrote: >Neither, Slrn uses S-Lang regexps, for detailed description of those This is not quite true. When I wrote the S-Lang regular expression code back in 1991-2, I used the ex man page on a DEC ultrix system as a reference. This document made no mention of `|' or any other `or' operator, nor did it mention \(foo\)*. For these reasons, I did not implement these enhancements. However, I did add a few features such as \d for [0-9] and \C to turn on case-insensitivity. Also note that at that time, packages such as pcre did not exist. --John
Re: [slrn] RE's in slrnpull score file
Author: Heikki Kantola
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
30 lines
2029 bytes
2029 bytes
Stefan Kersten <steve@k-hornz.de> informed news.software.readers with the following: >I didn't find anything in the documentation concerning this: Do >slrn/slrnpull use egrep-style RE's or old ex-style RE's in their >score files? Neither, Slrn uses S-Lang regexps, for detailed description of those see <URL:http://www.s-lang.org/docs/regexps.html>. >I tried to sort out all article not relating to slrn in >news.software.readers via > > Score: -9999 > ~Subject: (slrn|SLRN|Slrn) > >but I believe it doesn't work (since I did not receive any articles >at all ;). Right, that doesn't work, but to get the above working you don't need any grouping (especially as S-Lang REs don't offer that :( ) as the REs in Slrn are case insensitive by default. Also it's possible to use rules starting with "Score::" to match any of expressions followed. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: [slrn] RE's in slrnpull score file
Author: Stefan Kersten
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
22 lines
1555 bytes
1555 bytes
Believe me or not, but on 27 Mar 2000 Heikki Kantola stated:
>Right, that doesn't work, but to get the above working you don't need
>any grouping (especially as S-Lang REs don't offer that :( ) as the
>REs in Slrn are case insensitive by default. Also it's possible to use
>rules starting with "Score::" to match any of expressions followed.
Thanks; Jan's suggestion works for me:
Score: -9999
~Subject: slrn
and matches the word `slrn' regardless of case.
<sk>
--
K )---+---( H )( O )( R )( N )( Z )
| +-( http://www.k-hornz.de )
+--------( steve@k-hornz.de )
+--( the name is the game )
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads