Re: Regular expression to UPPER() a lower case string - Mailing list pgsql-general

From Gianni Ceccarelli
Subject Re: Regular expression to UPPER() a lower case string
Date
Msg-id 20221210152619.59634d94@nautilus
Whole thread Raw
In response to Re: Regular expression to UPPER() a lower case string  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
List pgsql-general
On 2022-12-10 "Peter J. Holzer" <hjp-pgsql@hjp.at> wrote:
> So, what's the point you are trying to make?

I suspect I mis-understood a thing you wrote… ignore me.

> > Of course all of this is dependent of locale, too.
> Right. But why would that be different for regexp_replace than for
> upper/lower?

I was trying to point out (badly) that the code shown, based
on a simplistic application of `regex_replace`, is going to work
even worse than `upper` (as you point out elsethread).

--
    Dakkar - <Mobilis in mobile>
    GPG public key fingerprint = A071 E618 DD2C 5901 9574
                                 6FE2 40EA 9883 7519 3F88
                        key id = 0x75193F88




pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: Regular expression to UPPER() a lower case string
Next
From: Eagna
Date:
Subject: Re: Regular expression to UPPER() a lower case string