cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Re: form validator and regexp problem...
Date Fri, 30 Aug 2002 20:17:57 GMT
Thanks Andre, you're right. :-)
--
website: www.babsfrance.fr.st
ICQ #: 135868405
----- Original Message ----- 
From: "Andre Thenot" <at01@thenot.net>
To: <cocoon-users@xml.apache.org>
Sent: Friday, August 30, 2002 4:20 PM
Subject: Re: form validator and regexp problem...


> On Friday, August 30, 2002, at 09:36 , Barbara Post wrote:
> 
> > I use the regexp expression from C 2.0.3 form validator example 
> > and want to
> > validate 2 email fields :
> >
> > in the descriptor :
> >
> >  <parameter name="emailTo" nullable="no" type="string"
> > matches-regexp="^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w?$"/>
>                                                      ^^^^^^
> Er, watch out: there are TDLs that have 2 characters (the 
> country codes) and others that have 4 (.info).
> 
> A.
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message