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



Reply via email to