Re: 7.2 search/replace pl/pgsql - Mailing list pgsql-novice

From Nabil Sayegh
Subject Re: 7.2 search/replace pl/pgsql
Date
Msg-id 1049656084.657.6.camel@billy
Whole thread Raw
In response to Re: 7.2 search/replace pl/pgsql  (Josh Berkus <josh@agliodbs.com>)
Responses Re: 7.2 search/replace pl/pgsql
List 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


pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: 7.2 search/replace pl/pgsql
Next
From: eurlix
Date:
Subject: How to see how much memory is used ?