X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 61445D6D93 for ; Mon, 5 Sep 2005 12:46:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31852-07 for ; Mon, 5 Sep 2005 15:46:53 +0000 (GMT) Received: from gauss.credativ.com (ipx11302.ipxserver.de [212.112.227.254]) by svr1.postgresql.org (Postfix) with ESMTP id 3D66BD7696 for ; Mon, 5 Sep 2005 12:46:52 -0300 (ADT) Received: from bell.credativ.de (p508955D6.dip.t-dialin.net [80.137.85.214]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id D825AD7657; Mon, 5 Sep 2005 17:51:11 +0200 (CEST) From: Peter Eisentraut To: "A. Kretschmer" Subject: Re: POSIX Regular Expression question Date: Mon, 5 Sep 2005 17:46:43 +0200 User-Agent: KMail/1.8.1 Cc: pgsql-sql@postgresql.org References: <431C4EB2.80401@mediaroot.de> <200509051619.29210.peter_e@gmx.net> <20050905151012.GA13161@webserv.wug-glas.de> In-Reply-To: <20050905151012.GA13161@webserv.wug-glas.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509051746.43680.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/36 X-Sequence-Number: 22583 Am Montag, 5. September 2005 17:10 schrieb A. Kretschmer: > > colname ~ '^[A-Za-z]*$' > > This match also a empty string. An empty string also fulfulls the condition "only with characters A-Za-z". Or maybe not. :-) -- Peter Eisentraut http://developer.postgresql.org/~petere/