Re: regular expression substittion function? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: regular expression substittion function?
Date
Msg-id 200102151618.LAA18609@candle.pha.pa.us
Whole thread Raw
In response to Re: regular expression substittion function?  (David Wheeler <david@wheeler.net>)
Responses Re: regular expression substittion function?  (David Wheeler <david@wheeler.net>)
List pgsql-general
> On Thu, 15 Feb 2001, Bruce Momjian wrote:
>
> > I thought someone suggested that, but I can't remember what happened to
> > it.  We have a Perl internal language that works in 7.1beta.  You
> > basically want a sed-type ability.  I can see real value in that.
>
> A "Perl internal language" in 7.1? Can you tell me what that means? Is it
> like Oracle's feature allowing one to write SPs in Java? I can tell you
> right now that the ability to write SPs in Perl would *totally* rock, from
> my point of view.

Yes, SP's in Perl, Tcl, or PL/SQL-type languages.  Perl only works well in
7.1beta.

What do people think of this TODO item:

    * Add sed-like regular expression search/replace capability

Seems it would be nice for quick and dirty stuff rather than having to
define a function.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: regular expression substittion function?
Next
From: Bruno Wolff III
Date:
Subject: Re: regular expression substittion function?