🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #249162

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

#249162
From: John E. Davis
Date: Thu, 08 Mar 2012 13:31
12 lines
2101 bytes
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
Technical Details
Message-ID: <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-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <slrnjlhd6e.htp.jed@aluche.mit.edu>
Subject: Re: [slrn] Change/add recognized quote character(s) in article pager
Date: Thu, 08 Mar 2012 13:31:58 +0000
From: "John E. Davis" <jed@jedsoft.org>
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>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 12
Reply-To: davis@space.mit.edu
Injection-Date: Thu, 8 Mar 2012 13:31:58 +0000 (UTC)
Injection-Info: mx04.eternal-september.org;
 posting-host="gZbVmHBbU4x8lTThtkSvpw";
 logging-data="12689"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/WXCTnEeanhQU5O3PXyrSq"
User-Agent: slrn/pre1.0.0-28 (Linux)
Cancel-Lock: sha1:KFi24b+OoUq/rh/baxHNBi86Q8A=
X-Original-Bytes: 1838