Article View: news.software.readers
Article #59682Re: [slrn] possible to use 'or' expression in s-lang regular expression?
From: Thorfinn
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
40 lines
2811 bytes
2811 bytes
In news.software.readers, on 26 Mar 2000 03:16:53 GMT
John E. Davis <davis@space.mit.edu> wrote:
> On 25 Mar 2000 21:46:55 GMT, Thomas Schultz <tststs@gmx.de>
> wrote:
> >limited regex syntax is currently my "least favourite" feature of
> A related question: how many regexp packages support UTF-8? Version
> 2.0 of slang will support UTF-8 and before I improve the regexp code
> or adopt a different regexp library for version 2.0, the following
> requirement will have to be met:
> 1. The regexp code must be availble for all systems supported by
> slang and be usable (i.e., bug-free) : Unix, VMS, OS/2, Win32,
> BeOS, ...
I'm not certain how separated the perl RE library is from the perl
sources, since I've not investigated it, but certainly perl is ported
to those listed platforms, IIRC. Hrm. Actually, I'm not *certain*
about a VMS port, but it shouldn't be too hard to find out from
perl.com.
> 2. The regexp code must support UTF-8.
Hrm. Support it in what way? Perl does Unicode, and... well, it's 8
bit clean, which I guess means it does UTF-8, but I don't actually
know for sure.
In any case, the only two RE libraries that would seem viable would be
the perl one and the GNU regexp one. I'd investigate those two, and
see what their capabilities are.
Later,
Thorf
--
David Goh <thorfinn@netizen.com.au> -- http://netizen.com.au/
Internet and Open Source Development, Consulting and Training
Netizen Pty Ltd, GPO Box 2265U, Melbourne VIC 3000, Australia
Telephone: +61-3-9614-0949 Facsimile: +61-3-9614-0948
Technical Details
Message-ID:
<slrn8dr2gg.4fi.thorfinn@netizen.com.au>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>Show Full Headers
Complete Article Headers
Message-ID: <slrn8dr2gg.4fi.thorfinn@netizen.com.au> Subject: Re: [slrn] possible to use 'or' expression in s-lang regular expression? Date: Sun, 26 Mar 2000 00:00:00 +0000 From: thorfinn@netizen.com.au (Thorfinn) 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> 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: 602448488 X-Silly-Line: A truly wise man never plays leapfrog with a unicorn. X-Newsgroup: news.software.readers X-Complaints-To: usenet@hiro.netizen.com.au X-Trace: hiro.netizen.com.au 954042897 8564 127.0.0.1 (26 Mar 2000 03:54:57 GMT) Organization: Netizen - http://netizen.com.au/ X-Countdown-To-Y2K: 12 weeks 1 day 14 hours 50 minutes 43 seconds ago User-Agent: slrn/0.9.6.2 (Linux) Reply-To: thorfinn@netizen.com.au NNTP-Posting-Date: 26 Mar 2000 03:54:57 GMT Newsgroups: news.software.readers X-Religion: linux slrn mutt vim