🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59989

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

#59989
From: John E. Davis
Date: Sun, 02 Apr 2000 00:00
21 lines
2115 bytes
On 30 Mar 2000 14:27:26 GMT, Thomas Schultz <tststs@gmx.de>
wrote:
>1. When compiling slang, the user (or his administrator) can decide
>   what syntax he likes to use when he is asked to enter a regular
>   expression.
>
>2. To evaluate a regular expression the user has entered, we use
>   SLnew_re_interface(). As the user himself chose the syntax, we can
>   assume that the regular expression he provided does what he wants.
>   I do not see why we should map it to slang RE or use any
>   #if..#else..#endif directives in this case.

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.

--John

Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8ef9ah.4g9.davis@aluche.mit.edu>
Subject: Re: [slrn] possible to use 'or' expression in s-lang regular expression?
Date: Sun, 02 Apr 2000 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
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>
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: 605752969
X-Trace: dreaderd 954705235 2949 18.75.2.45
Organization: Center for Space Research
User-Agent: slrn/0.9.6.3 (Linux)
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers