Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Are there any plans to provide a regular expression substitution function,
> similar to translate but allowing more complex substitutions?
Not in Postgres itself. Either pltcl or plperl offers you far better
text-mashing facilities than we could provide as SQL functions, so I
don't really see the point in partially duplicating their functionality.
regards, tom lane