Re: Regular expression to UPPER() a lower case string

From: Gianni Ceccarelli <dakkar(at)thenautilus(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Regular expression to UPPER() a lower case string
Date: 2022-12-10 15:26:25
Message-ID: 20221210152619.59634d94@nautilus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2022-12-10 "Peter J. Holzer" <hjp-pgsql(at)hjp(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eagna 2022-12-10 15:37:01 Re: Regular expression to UPPER() a lower case string
Previous Message Peter J. Holzer 2022-12-10 14:48:58 Re: Regular expression to UPPER() a lower case string