🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60208

Re: [slrn] possible to use 'or' expression in s-lang regular expression?

#60208
From: Thomas Schultz
Date: Wed, 05 Apr 2000 00:00
28 lines
2638 bytes
On 02 April 2000 at 19:53 GMT, John E. Davis <davis@space.mit.edu> wrote:
[...]
> You have to keep in mind that slang is not used only by slrn and jed.
> It is shipped as a shared library with all linux distributions.  In
> such cases, the user or system administrator will not be in the
> position to select a particular syntax.  In fact, this is the most
> likely scenario for the vast majority of linux users.

We discussed two alternatives: The first one is implementing optional
support for different regexp libraries (like pcre) in each individual
slang application. The second one is encapsulating this functionality
in slang.

You now mention that when installing a binary linux distribution, the
user (or administrator) will not be able to make the decision which
regexp syntax to use himself. However, this applies to *both*
alternatives: If you want to change the syntax, you have to recompile.
But I still see a difference:

When pcre support is in individual applications, you have to recompile
every single application to change the syntax everywhere. If it is
encapsulated in slang, it will suffice to recompile slang only (which
is one single package in most distributions). I think this is an
argument for the second alternative rather than for the first.
-- 
Thomas Schultz <tststs@gmx.de>

Technical Details
Message-ID: <slrn8en3bg.dv.tststs@starflower.tststs.ddns.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: <slrn8dpjcj.9s1._hate_spam_thunder7@middle.of.nowhere> <slrn8dq0rs.h84.bluemoon@ux6.cso.uiuc.edu> <slrn8dqcuf.i6u.tststs@starflower.tststs.ddns.org> <slrn8dr094.9lh.davis@aluche.mit.edu> <slrn8dr2gg.4fi.thorfinn@netizen.com.au> <slrn8dsavg.l3l.tststs@starflower.tststs.ddns.org> <slrn8dsfk7.aud.davis@aluche.mit.edu> <slrn8e1gfk.9m.tststs@starflower.tststs.ddns.org> <slrn8e1pff.gpt.davis@aluche.mit.edu> <slrn8e41bp.12i.tststs@starflower.tststs.ddns.org> <slrn8e4g2n.ke9.davis@aluche.mit.edu> <slrn8e6p2e.136.tststs@starflower.tststs.ddns.org> <slrn8ef9ah.4g9.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8en3bg.dv.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] possible to use 'or' expression in s-lang regular expression?
Date: Wed, 05 Apr 2000 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn8dpjcj.9s1._hate_spam_thunder7@middle.of.nowhere> <slrn8dq0rs.h84.bluemoon@ux6.cso.uiuc.edu> <slrn8dqcuf.i6u.tststs@starflower.tststs.ddns.org> <slrn8dr094.9lh.davis@aluche.mit.edu> <slrn8dr2gg.4fi.thorfinn@netizen.com.au> <slrn8dsavg.l3l.tststs@starflower.tststs.ddns.org> <slrn8dsfk7.aud.davis@aluche.mit.edu> <slrn8e1gfk.9m.tststs@starflower.tststs.ddns.org> <slrn8e1pff.gpt.davis@aluche.mit.edu> <slrn8e41bp.12i.tststs@starflower.tststs.ddns.org> <slrn8e4g2n.ke9.davis@aluche.mit.edu> <slrn8e6p2e.136.tststs@starflower.tststs.ddns.org> <slrn8ef9ah.4g9.davis@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.mbox.zip!not-for-mail
X-Deja-AN: 607205728
X-Server-Date: 5 Apr 2000 19:22:28 GMT
X-Complaints-To: abuse@cityweb.de
Organization: Pinguin online.
User-Agent: slrn/0.9.6.2+ (Linux)
NNTP-Posting-Date: 5 Apr 2000 19:24:24 GMT
Newsgroups: news.software.readers