Article View: news.software.readers
Article #59764Re: [slrn] possible to use 'or' expression in s-lang regular expression?
From: John E. Davis
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
29 lines
2494 bytes
2494 bytes
On 28 Mar 2000 14:30:12 GMT, Thomas Schultz <tststs@gmx.de> wrote: >It was already pointed out by others that one could add a compile-time >option to chose between the builtin RegExp support and an external >library like pcre. My impression is that this thread concerned the enhancement of regular expressions within slang library and not in slrn itself. For applications such as slrn, it is trivial to add support for a different regular expression library. I have no argument with that. If you want to send me patches to that allow one to use, say pcre, instead of slang regular expressions, then I will integrate those patches because it is a no-brainer. Of course such patches must include changes to Makefile.in, configure.in, etc. However, replacing the slang library regular expressions with an off the shelf package _within_ the slang library is far from trivial, requiring many considerations that standalone applications such as slrn do not have to deal with. Chief among them are portability, a clean well-defined interface, and compatibility with the long term future of the library. In fact, I would be highly surprised if you were able to patch the slang library with a different RE library and still keep a portable interface. Remember, it is because of the portability of this interface that slrn was ported to win32, VMS, OS/2, and BeOS. My argument is that I want to keep it that way. --John
Technical Details
Message-ID:
<slrn8e1pff.gpt.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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrn8e1pff.gpt.davis@aluche.mit.edu> Subject: Re: [slrn] possible to use 'or' expression in s-lang regular expression? Date: Tue, 28 Mar 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> 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: 603477149 X-Trace: dreaderd 954263029 2942 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