turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zeigler <robe...@scazdl.org>
Subject Re: Regular Expression Questions
Date Fri, 02 Jan 2004 04:23:28 GMT
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


Mime
View raw message