pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony.Curtis@vcpc.univie.ac.at
To: Gene Selkov Jr. <selkovjr@mcs.anl.gov>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] [SQL, regex, words] how to match word boundaries using regex's?
Date: Mon, 19 Oct 1998 16:58:58 +0200
Message-ID: <199810191459.QAA05951@haze.vcpc.univie.ac.at> (raw)
In-Reply-To: <199810191432.JAA07847@antares.mcs.anl.gov>

Re: [SQL] [SQL, regex, words] how to match word boundaries
using regex's? , Gene <selkovjr@mcs.anl.gov> 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



view thread (3+ messages)

Message-ID: <199810191459.QAA05951@haze.vcpc.univie.ac.at>
Permalink:  ../199810191459.QAA05951@haze.vcpc.univie.ac.at/
Also on:    postgresql.org/message-id/199810191459.QAA05951@haze.vcpc.univie.ac.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: Tony.Curtis@vcpc.univie.ac.at, selkovjr@mcs.anl.gov
  Subject: Re: [SQL] [SQL, regex, words] how to match word boundaries using regex's?
  In-Reply-To: <199810191459.QAA05951@haze.vcpc.univie.ac.at>
  References: <199810191432.JAA07847@antares.mcs.anl.gov> <199810191459.QAA05951@haze.vcpc.univie.ac.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox