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

From Eagna
Subject Regular expression to UPPER() a lower case string
Date
Msg-id 5C_J_wdWjnwxieBfiMQgeIXLQ5RYXN4-W5jIZyCpkAqlhGO8GxRqwb1jCHfh0EO9SvHYcysvVUXM-ocEBPSb9A-_iiSwfY0DKvljrZ50iA4=@protonmail.com
Whole thread Raw
Responses Re: Regular expression to UPPER() a lower case string  (Gianni Ceccarelli <dakkar@thenautilus.net>)
List pgsql-general

Hi all,

as per the subject, I want a regular expression to do what the UPPER() function does.

Obviously, I know about that function and it is not what I want.

This should be very (very) easy - I don't know what I'm missing - I've done quite complex regular expressions before and I don't know what I'm doing wrong. Brain burping this morning!

Here's a dbfiddle where I've tried a couple of things (https://dbfiddle.uk/G5c_CycU) - but I just can't seem to get it working...

Any input appreciated.


E.



Sent with Proton Mail secure email.

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Regular expression for lower case to upper case.
Next
From: Gianni Ceccarelli
Date:
Subject: Re: Regular expression to UPPER() a lower case string