struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muralidhar Yaragalla <java.yaraga...@gmail.com>
Subject Re: problem with regex validator
Date Tue, 19 Mar 2013 13:57:41 GMT
The regex that i am trying works in java and also works with most regex
engines but that is not working with regex validator.


On Tue, Mar 19, 2013 at 5:45 PM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2013/3/19 Muralidhar Yaragalla <java.yaragalla@gmail.com>:
> > If i pass "<![CDATA[[^<>]+]]>" in the xml file to the regex validator
the
> > xml file is not generating any error but then the input is allowing the
> "<"
> > and ">" characters. That means still there is problem. Any help on this?
>
> Maybe the problem is with regex itself, try this one: ^[<>].+
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message