Using functions in regexp replace captures - Mailing list pgsql-general

From Tim Uckun
Subject Using functions in regexp replace captures
Date
Msg-id CAGuHJrOFcd78vef=zwTZ9yDbFw6exk_Y-phts2drsgZbRwe7Pw@mail.gmail.com
Whole thread Raw
Responses Re: Using functions in regexp replace captures  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
I want to do something like this

SELECT REGEXP_REPLACE('some_string','(.*)
(.*)',some_function_that_returns_string('\2',' \1'));

Is this possible at all?



pgsql-general by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: Unexpected block ID found when reading data
Next
From: "David G. Johnston"
Date:
Subject: Re: Using functions in regexp replace captures