pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gianni Ceccarelli <dakkar@thenautilus.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Regular expression to UPPER() a lower case string
Date: Sat, 10 Dec 2022 15:26:25 +0000
Message-ID: <20221210152619.59634d94@nautilus> (raw)
In-Reply-To: <20221210140843.w65qhz5jmtqa5nkj@hjp.at>
References: <5C_J_wdWjnwxieBfiMQgeIXLQ5RYXN4-W5jIZyCpkAqlhGO8GxRqwb1jCHfh0EO9SvHYcysvVUXM-ocEBPSb9A-_iiSwfY0DKvljrZ50iA4=@protonmail.com>
	<20221210104141.35498bc4@thenautilus.net>
	<20221210131346.3pqmksqk4jvnyxrm@hjp.at>
	<20221210134420.247e7a3a@nautilus>
	<20221210140843.w65qhz5jmtqa5nkj@hjp.at>

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






view thread (15+ messages)  latest in thread

Message-ID: <20221210152619.59634d94@nautilus>
Permalink:  ../20221210152619.59634d94@nautilus/
Also on:    postgresql.org/message-id/20221210152619.59634d94@nautilus

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: dakkar@thenautilus.net
  Subject: Re: Regular expression to UPPER() a lower case string
  In-Reply-To: <20221210152619.59634d94@nautilus>
  References: <5C_J_wdWjnwxieBfiMQgeIXLQ5RYXN4-W5jIZyCpkAqlhGO8GxRqwb1jCHfh0EO9SvHYcysvVUXM-ocEBPSb9A-_iiSwfY0DKvljrZ50iA4=@protonmail.com> <20221210104141.35498bc4@thenautilus.net> <20221210131346.3pqmksqk4jvnyxrm@hjp.at> <20221210134420.247e7a3a@nautilus> <20221210140843.w65qhz5jmtqa5nkj@hjp.at> <20221210152619.59634d94@nautilus>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox