🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by J.B. Nicholson-Owens Sat, 22 Jul 2000 00:00
Re: [slrn] ignore_quotes: ']' - how?
#63553
Author: 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!

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