Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@www.apache.org Received: (qmail 73090 invoked from network); 2 Jan 2004 04:24:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Jan 2004 04:24:35 -0000 Received: (qmail 5104 invoked by uid 500); 2 Jan 2004 04:24:12 -0000 Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 5073 invoked by uid 500); 2 Jan 2004 04:24:12 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 5054 invoked from network); 2 Jan 2004 04:24:12 -0000 Received: from unknown (HELO smtpgate.email.arizona.edu) (128.196.133.142) by daedalus.apache.org with SMTP; 2 Jan 2004 04:24:12 -0000 Received: from scazdl.org (unknown [69.10.107.77]) by smtpgate.email.arizona.edu (Postfix) with ESMTP id 4C951264B98 for ; Thu, 1 Jan 2004 21:24:21 -0700 (MST) Message-ID: <3FF4F240.4050101@scazdl.org> Date: Thu, 01 Jan 2004 21:23:28 -0700 From: Robert Zeigler User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Turbine Users List Subject: Re: Regular Expression Questions References: <001a01c3d012$436cac10$0100000a@daviddemner> In-Reply-To: <001a01c3d012$436cac10$0100000a@daviddemner> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at email.arizona.edu X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David Demner wrote: >Hi Brian, > >Sorry, I meant: > >^[a-zA-Z \\.]+$ > >(+ not ? or * to signify one or more characters. ^[a-zA-Z \\.]*$ >will match an empty string.) > >Good luck, > >David > > While I'm not sure how the turbine related classes handle this, exactly, I can tell you that, in general, characters withing [] lose their "special meaning", so, the . shouldn't be escaped... hence, ^[a-zA-Z .]+$ according to standard regexp syntax would be preferred. Robert --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org