🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #249184

Re: [slrn] Change/add recognized quote character(s) in article pager

#249184
From: Peter J Ross
Date: Sat, 10 Mar 2012 21:45
32 lines
2783 bytes
In news.software.readers on Thu, 8 Mar 2012 13:31:58 +0000 (UTC), John
E. Davis <jed@jedsoft.org> wrote:

> On Wed, 7 Mar 2012 21:20:47 +0000 (UTC), Peter J Ross <pjr@example.invalid>
>> S-Lang regular expressions are quite primitive. We have to write
>> " ? ?" because such elegant solutions as " {,2}" (from PCRE) are
>> unavailable in S-Lang, and therefore unavalable in slrn.
>
> Although not nearly as powerful as PCRE regular expressions, slang
> regular expressions do support this particular construct.  But it has
> to be written with the brace characters escaped by a backslash.  In
> the .slrnrc file, the backslash must also be escaped.  Hence, in an
> slrnrc file, the RE " ? ?" can be written as " \\{0,2\\}".  Note also
> the first number following the opening brace is not optional and must
> be specified.  --John

This was all news to me. It isn't documented here:
<http://www.jedsoft.org/slang/doc/html/slang-22.html>

Incidentally, I notice that "contcatenation" on that page has too many
"t"s in it.

Your wonderful newsreader is still working well for me, by the way.
The version I'm using ought to be version 1.0, just like I told you
and everybody else who would listen, not recently but *years ago*.

-- 
PJR :-)  |  οἵη περ φύλλων γενεὴ, τοίη δὲ καὶ ἀνδρῶν.
         |  φύλλα τὰ μέν τ' ἄνεμος χαμάδις χέει, ἄλλα δέ θ' ὕλη
         |  τηλεθόωσα φύει, ἔαρος δ' ἐπιγίγνεται ὥρη·
         |  ὣς ἀνδρῶν γενεὴ ἡ μὲν φύει ἡ δ' ἀπολήγει. (Homer)
Technical Details
Message-ID: <slrnjlnish.3pl.pjr@pjr.no-ip.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-microsoft.public.vb.winapi.networks.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.alt.net
References: <ntck29x4vp.ln2@soren625.no-ip.org> <slrnjlf83p.ofg.steve@wizard.dyndns.org> <1c42r20i1w3gy.p3kmyljq1jpv.dlg@40tude.net> <slrnjlfk9f.psv.pjr@pjr.no-ip.org> <slrnjlhd6e.htp.jed@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrnjlnish.3pl.pjr@pjr.no-ip.org>
Subject: Re: [slrn] Change/add recognized quote character(s) in article pager
Date: Sat, 10 Mar 2012 21:45:53 +0000
From: Peter J Ross <pjr@example.invalid>
References: <ntck29x4vp.ln2@soren625.no-ip.org> <slrnjlf83p.ofg.steve@wizard.dyndns.org> <1c42r20i1w3gy.p3kmyljq1jpv.dlg@40tude.net> <slrnjlfk9f.psv.pjr@pjr.no-ip.org> <slrnjlhd6e.htp.jed@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-microsoft.public.vb.winapi.networks.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!news.alt.net
Newsgroups: news.software.readers
Organization: none
Lines: 32
Reply-To: Peter J Ross <peadar.ruadh@gmx.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-No-Archive: Yes
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Original-Bytes: 2488