cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <j.heini...@ewerk.com>
Subject Re: FormValidatorAction & regexp matching
Date Fri, 30 Jan 2004 12:30:59 GMT
Leszek Gawron <lgawron <at> mobilebox.pl> writes:

> Was anything changed with the regexp matching classes in cocoon?
> I am using FormValidatorAction and while some older version worked OK the
> lastest version returns NO_MATCH when comparing '2004-01-01' with 
> ^\\\\d{4}(-\\\\d{2}){2}$
> 
> It is a little bit strange as ^\\\\d{4}-\\\\d{2}-\\\\d{2}$ works fine.

What does 'older version' mean? Jakarta RegExp was updated from 1.2 to 1.3 on
4th of September (between release of 2.1 and 2.1.1). The actions
(FormValidatorAction and more important
AbstractValidatorAction) don't have much changed in the last months:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/
org/apache/cocoon/acting/AbstractValidatorAction.java

Joerg




Mime
View raw message