🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63301

Re: [slrn] ignore_quotes: ']' - how?

#63301
From: 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]
Technical Details
Message-ID: <slrn.963697057-476.tsca@news.tesa.corp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <slrn8mvemk.ui.john@unixen.org> <slrn.963667171-871.tsca@news.tesa.corp> <slrn8n16nn.pk.john@unixen.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn.963697057-476.tsca@news.tesa.corp>
Subject: Re: [slrn] ignore_quotes: ']' - how?
Date: Sat, 15 Jul 2000 00:00:00 +0000
From: ts...@cryogen.com (Tomasz Sienicki)
References: <slrn8mvemk.ui.john@unixen.org> <slrn.963667171-871.tsca@news.tesa.corp> <slrn8n16nn.pk.john@unixen.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 646806472
Followup-To: alt.lang.s-lang
X-Complaints-To: ab...@cybercity.dk
X-Trace: news.cybercity.dk 963697733 2864 212.242.11.167 (15 Jul 2000 21:48:53 GMT)
Organization: spolebaandoptager 45 @ TESA Corp.
User-Agent: slrn/0.9.6.2+ (Linux)
Reply-To: tsca <ts...@mailserver.dk>
NNTP-Posting-Date: 15 Jul 2000 21:48:53 GMT
Newsgroups: news.software.readers,alt.lang.s-lang