🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63553

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

#63553
From: J.B. Nicholson-Owens
Date: Sat, 22 Jul 2000 00:00
17 lines
1316 bytes
John Bacalle wrote:
> [...] I'd like to instruct slrn to recognize that square bracket, though.
> 
>    ignore_quotes "^ ? ?[><:=|]"

To do that with this character class you could use "[]><:=|]"

There is more than one way to do it.  The rules for character classes allow
a special meaning for ']' as the first character in the class or the second
character immediately following '^'.  Therefore "[^]><:=|]" matches any
character except ']', '>', '<', ':', '=' or '|'.  I tested this with rgrep
which (as far as I know) uses the same regular expression parser as slrn's
ignore_quotes--the S-Lang regex parser.

Happy newsreading!

Technical Details
Message-ID: <slrn8nk31q.78.jbn@forestfield.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.mbox.zip!not-for-mail
References: <slrn8mvemk.ui.john@unixen.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8nk31q.78.jbn@forestfield.org>
Subject: Re: [slrn] ignore_quotes: ']' - how?
Date: Sat, 22 Jul 2000 00:00:00 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn8mvemk.ui.john@unixen.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.mbox.zip!not-for-mail
X-Deja-AN: 649576115
X-Trace: fu-berlin.de 964299894 4523987 208.216.67.173 (16 [35848])
Organization: Forest Field OmniMedia
User-Agent: slrn/0.9.6.2 (Unix)
Newsgroups: news.software.readers