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

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

Ciao and thanks for your input.


> * `regexp_replace` doesn't work like that, at all
> * your logic only works by accident for some languages (try to upcase
> a `ß` or a `ı`)

If you have any ideas how it could be done indirectly/different strategy - I'm all ears.

You can assume all English characters [a-z][A-Z].

E.


> Dakkar - <Mobilis in mobile>




pgsql-general by date:

Previous
From: Eagna
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