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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>