You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by rama chandrula <rc...@hotmail.com> on 2006/01/23 09:46:20 UTC

Regex works in Java but not in Struts Validator

Hi,

I have a regex as given below that works with Java 1.5, But when I use the 
same as the maxk value in Struts-Validator it does not work. Can anyone 
point out the reason

Regards,
chandra

_________________________________________________________________
Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try MSN 
Search http://server1.msn.co.in/Profile/bipashabasu.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Regex works in Java but not in Struts Validator

Posted by Dave Newton <ne...@pingsite.com>.
rama chandrula wrote:
> I have a regex as given below that works with Java 1.5, But when I use
> the same as the maxk value in Struts-Validator it does not work. Can
> anyone point out the reason
I don't see a regular expression.

IIRC Validator uses ORO for its regexes which may not be exactly the
same as 1.5.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org