Re: POSIX Regular Expression question - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: POSIX Regular Expression question
Date
Msg-id 200509051619.29210.peter_e@gmx.net
Whole thread Raw
In response to POSIX Regular Expression question  (Aldor <an@mediaroot.de>)
Responses Re: POSIX Regular Expression question
Re: POSIX Regular Expression question
Re: POSIX Regular Expression question
List pgsql-sql
Am Montag, 5. September 2005 15:57 schrieb Aldor:
> I want to get out a string only with characters A-Za-z.
> Any idea how to do this in Postgres with POSIX Regex?

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.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: POSIX Regular Expression question
Next
From: "A. Kretschmer"
Date:
Subject: Re: POSIX Regular Expression question