Re: AW: [HACKERS] regular expressions from hell

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: dg(at)illustra(dot)com (David Gould)
Cc: scrappy(at)hub(dot)org, andreas(dot)zeugswetter(at)telecom(dot)at, hackers(at)postgreSQL(dot)org, henry(at)zoo(dot)utoronto(dot)ca
Subject: Re: AW: [HACKERS] regular expressions from hell
Date: 1998-07-19 04:22:08
Message-ID: 199807190422.AAA10963@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> As it happens, rx-1.9 is not under either the GPL, or the LGPL. The author
> offers a range of free and commercial licenses. It appears that we could
> use this software, but the safest bet would be to contact the author and ask
> as the license documents are not as well spelled out as the Gnu licences and
> I may have misunderstood them.

David, I received this from the maintainer of our current regex library.
Seems like rx may be too buggy for us. But we do need a faster regex
library.

---------------------------------------------------------------------------

> Henry, will the new code you write be in the public domain, or only part
> of BSDI?

The new regex code will be under essentially the same redistribution terms
as the old stuff (in fact, slightly more generous). BSDI didn't end up
contributing to this particular project, and the folks who did were all
happy with open redistribution.

I should clarify that this code isn't "to be written" -- it already exists,
although I'm not entirely happy with it yet and want to limit distribution
until it's tidied up somewhat.

> Would you recommend we replace our regex stuff with something else?

My only real competitor :-) right now appears to be the GNU rx package,
and I have heard enough grumbling about it that I hesitate to recommend
it for general use. It's faster but it has problems, is my impression;
I have not examined it closely.

> Do you have any patches you would like us to test?

Nothing quite yet. Incidentally, the new code is a from-scratch
reimplementation, not just patches to the 4.4 one.

Henry Spencer
henry(at)zoo(dot)toronto(dot)edu

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-07-19 04:23:05 Re: [INTERFACES] Re: [HACKERS] Access & Postgres
Previous Message Bruce Momjian 1998-07-19 04:15:46 Re: [HACKERS] UnixWare 7 port (corrected intro text).