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

From A. Kretschmer
Subject Re: POSIX Regular Expression question
Date
Msg-id 20050905151012.GA13161@webserv.wug-glas.de
Whole thread Raw
In response to Re: POSIX Regular Expression question  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: POSIX Regular Expression question
List pgsql-sql
am  05.09.2005, um 16:19:28 +0200 mailte Peter Eisentraut folgendes:
> 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]*$'                         ^

This match also a empty string.


Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net===    Schollglas Unternehmensgruppe    === 


pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: POSIX Regular Expression question
Next
From: Alvaro Herrera
Date:
Subject: Re: POSIX Regular Expression question