Re: POSIX Regular Expression question

From: Harald Fuchs <hf0614x(at)protecting(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: POSIX Regular Expression question
Date: 2005-09-05 15:40:37
Message-ID: 87k6hv7cay.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In article <200509051619(dot)29210(dot)peter_e(at)gmx(dot)net>,
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> Presumably,

> colname ~ '^[A-Za-z]*$'

> If you want to be independent of locale issues, then you'd have to enumerate
> all the letters instead of using a range specification.

How so? I thought character ranges are more an encoding than a locale
issue. I dunno the details of the supported encodings, but is there
any encoding where 'a-z' includes more or less than 26 letters?
Fortunately we don't support EBCDIC ;-)

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2005-09-05 15:46:43 Re: POSIX Regular Expression question
Previous Message Alvaro Herrera 2005-09-05 15:13:31 Re: POSIX Regular Expression question