pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Harald Fuchs <hf0614x@protecting.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: POSIX Regular Expression question
Date: Mon, 05 Sep 2005 13:31:44 -0400
Message-ID: <1897.1125941504@sss.pgh.pa.us> (raw)
In-Reply-To: <200509051815.22529.peter_e@gmx.net>
References: <431C4EB2.80401@mediaroot.de>
	<200509051619.29210.peter_e@gmx.net>
	<87k6hv7cay.fsf@srv.protecting.net>
	<200509051815.22529.peter_e@gmx.net>

Peter Eisentraut <peter_e@gmx.net> writes:
> Am Montag, 5. September 2005 17:40 schrieb Harald Fuchs:
>> I dunno the details of the supported encodings, but is there 
>> any encoding where 'a-z' includes more or less than 26 letters?

> Well, it seems that our regexp library interprets [a-z] as exactly 26 letters, 
> but that seems to be a lack of locale support rather than a feature.

ISTM that the notation should properly mean "every character that sorts
between a and z inclusive".  So it's sort order dependent and thus
locale dependent --- or at least should be.  The locale support in our
regexp code is definitely pretty weak at the moment.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <1897.1125941504@sss.pgh.pa.us>
Permalink:  ../1897.1125941504@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1897.1125941504@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, hf0614x@protecting.net
  Subject: Re: POSIX Regular Expression question
  In-Reply-To: <1897.1125941504@sss.pgh.pa.us>

* 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