🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Tomasz Sienicki Sat, 15 Jul 2000 00:00
Re: [slrn] ignore_quotes: ']' - how?
#63300
Author: Tomasz Sienicki
Date: Sat, 15 Jul 2000 00:00
27 lines
1653 bytes
 John Bacalle wrote
 [in news:slrn8mvemk.ui.john@unixen.org (15.07.2k)]:

> There's an individual which uses the prefix for quoted lines ']'. He's
> interesting enough that I read his posts, I'd like to instruct slrn to
> recognize that square bracket, though. 

>    ignore_quotes "^ ? ?[><:=|]"

 I experimented a little, and this works perfect for me:

 ignore_quotes              "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"

 Works like this:

 TS> quote
 :-) text
 :   qoute
 ]   quote

-- 
 .------------------------. In my house there's a light switch that doesn't do
 | Tomasz 'tsca' Sienicki | anything. Every so often I would flick it on and
 |  www.cryogen.com/tsca  | off just to check. Yesterday I got a call from a
 `------------------------' woman in Germany. She said "Cut it out." (Wright)

Re: [slrn] ignore_quotes: ']' - how?
#63286
Author: Tomasz Sienicki
Date: Sat, 15 Jul 2000 00:00
22 lines
1613 bytes
 John Bacalle wrote
 [in news:slrn8n11du.k9.john@unixen.org (15.07.2k)]:

> * Tomasz Sienicki wrote:

>>  ignore_quotes              "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"

> (1.) How would you modify your expression to detect ';-)', just add and

   "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *[:;][^-()^]"

> (2.) My favorite version is '=)', how can we incorporate that?

 What is "=)"? Is that an emoticon or two quote marks? I don't get it.

-- 
 .------------------------.    I'm sitting here
 | Tomasz 'tsca' Sienicki |    completely surrounded by no beer!
 |  www.cryogen.com/tsca  |    ------------------------------------
 `------------------------'    (c) Onslow      ["Hydrocefalus", 25]

Re: [slrn] ignore_quotes: ']' - how?
#63301
Author: ts... Tomasz Sienicki
Date: Sat, 15 Jul 2000 00:00
42 lines
2626 bytes
 John Bacalle wrote
 [in news:slrn8...@unixen.org (15.07.2k)]:

> * Tomasz Sienicki wrote:

>>  ignore_quotes          "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"

> [y] =) text? # This is the part that confuses me. '=' is in the default
>              regexp - it is not in Tomasz' regexp, so it doesn't have
>              effect. Fine. But, would it be tricky to detect '=' in
>              BOL smileys and as a quote-prefix? 

 No. If you mean smileys like ":=)" and quote-prfx "=", it'd be:

          "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|\=)]" "^ *:[^-\=()^]"

>   ignore_quotes        "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"
>                            ^^^^^^
>                            112222
> What exactly is happening here?

 Actually, it's happening here:

           "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"
               ^^^^^^^^^^^^^^^
               1234567890ABCDE

 1 and E --> [ ] square brackets containing characters that can be matched
 234 and 567 --> single characters "[" and "]", that can be matched. 
                 "[" and "]" have special meaning in regexps, and that's
                 why they have to be escaped. Thus "[" becomes "\\[". Same 
                 with "]". Thanks to this, lines beginning with things like
                 [tsca]> can also be marked as quotes (see?)

 FUT: alt.lang.s-lang
-- 
 .------------------------. If you wish to be removed from future mailings
 | Tomasz 'tsca' Sienicki |  please reply with REMOVE in the subject line.
 |  <http://tsca.dht.dk>  | ----------------------------------------------
 `------------------------'                           ["Hydrocefalus", 16]
Re: [slrn] ignore_quotes: ']' - how?
#63350
Author: Hexdump
Date: Mon, 17 Jul 2000 00:00
12 lines
1216 bytes
On 15 Jul 2000 21:37:02 GMT, Tomasz Sienicki wrote:
[snip]
> What is "=)"? Is that an emoticon or two quote marks? I don't get it.

It is Yet Another Smiley. ;-)

Hexdump
-- 
Having a wonderful wine, wish you were beer.
Health is merely the slowest possible rate at which one can die.

Re: [slrn] ignore_quotes: ']' - how?
#63398
Author: Csaba Raduly
Date: Wed, 19 Jul 2000 00:00
22 lines
1697 bytes
15 Jul 2000: A formal bug report was sent to Seti@Home, because the
following message originated from tsca@mailserver.dk (tsca) was
reported as containing signs of intelligence: 

[F'up to alt.lang.s-lang had to be removed, don't have it]
> John Bacalle wrote
> [in news:slrn8n16nn.pk.john@unixen.org (15.07.2k)]:
[snip]
>
>           "^ *[\\[\\]a-zA-Z-]*>" "^ *[\]|)]" "^ *:[^-()^]"
[snip]
Heck, it works for Xnews too !
Put this in the "quote regex" (misc tab) beginning with the ^

^ *[\[\]a-zA-Z-]*>|^ *[\]|)]|^ *[:;][^-()^]
-- 
Csaba Raduly, Software Developer (OS/2), Sophos Anti-Virus
mailto:csaba.raduly@sophos.com      http://www.sophos.com/
US Support +1 888 SOPHOS 9      UK Support +44 1235 559933
Life is complex, with real and imaginary parts.

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