Received: from haze.vcpc.univie.ac.at (haze.vcpc.univie.ac.at [131.130.186.138]) by hub.org (8.8.8/8.8.8) with ESMTP id KAA00950 for ; Mon, 19 Oct 1998 10:59:44 -0400 (EDT) (envelope-from tc@vcpc.univie.ac.at) Received: (from smtpd@localhost) by haze.vcpc.univie.ac.at (8.8.8/8.8.8) id QAA05951; Mon, 19 Oct 1998 16:59:21 +0200 (MET DST) Message-Id: <199810191459.QAA05951@haze.vcpc.univie.ac.at> Received: from salome(131.130.186.145), claiming to be "vcpc.univie.ac.at" via SMTP by haze, id smtpdAAAa001Sw; Mon Oct 19 16:58:58 1998 To: "Gene Selkov Jr." cc: pgsql-sql@postgreSQL.org Subject: Re: [SQL] [SQL, regex, words] how to match word boundaries using regex's? In-reply-to: Your message of "Mon, 19 Oct 1998 09:33:23 EDT." <199810191432.JAA07847@antares.mcs.anl.gov> X-Attribution: tony From: Tony.Curtis@vcpc.univie.ac.at Date: Mon, 19 Oct 1998 16:58:58 +0200 Sender: tc@vcpc.univie.ac.at Re: [SQL] [SQL, regex, words] how to match word boundaries using regex's? , Gene said: Gene> I guess there are no backslash macros is POSIX Gene> expressions. No joy. By the way, I am wondering what No joy, Ren :-( Gene> determined the choice of the regexp machine for Gene> postgres? Is it performance-related? Is it possible to Gene> have the same stuff as in perl? That would be really nice. I was just considering how easy it would be to pull out the current regex backend directory and put perl-type (or GNU) ones there instead. Or is that not the way to do it? Could I write a new backend with overloaded/new operators to do this? Gene> Split the text into words before loading into a Gene> special index table. Words are numbered sequentially, Gene> so you can search for "phrases": I had thought about doing this because the description string will probably require interpretation at some level. But I was looking for a straight-forward inefficiency-be-damned-it's-only-a-demo-for-now solution. tony