Re: 7.2 search/replace pl/pgsql

From: Nabil Sayegh <postgresql(at)e-trolley(dot)de>
To: josh(at)agliodbs(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: 7.2 search/replace pl/pgsql
Date: 2003-04-06 19:08:04
Message-ID: 1049656084.657.6.camel@billy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Am Son, 2003-04-06 um 18.58 schrieb Josh Berkus:
> I don't know about this ... search and replace is so easy in PL/perl, why
> don't you use that?
>
> CREATE FUNCTION strswap(

Great, exactly what i was looking for.

Any idea how to use subexpressions ?
like:

$_="<A href=\"blah\">"
s/"[^"]*"/$1/

cu
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : www.e-trolley.de

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message eurlix 2003-04-06 19:08:28 How to see how much memory is used ?
Previous Message Josh Berkus 2003-04-06 18:15:44 Re: 7.2 search/replace pl/pgsql