Validator does use ORO - There is an applet you can play with to test your
regexp:

http://jakarta.apache.org/oro/demo.html

Choose the "contains" option and start/end your regular expressions with ^
and $

Niall

----- Original Message ----- 
From: "Takhar, Sandeep" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 6:52 PM
Subject: RE: Struts validator Regular Expressions


don't quote me but the javadocs for jakarta's regular expression's RE class
are ok.

Also I believe everything is based on jakarta's oro.

sandeep

-----Original Message-----
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 1:33 PM
To: 'Struts Users Mailing List'
Subject: Struts validator Regular Expressions


Hello!

Do you know any document where can I learn how to build regular expressions
for Struts Validator?

I need to validate an IP address and I don't know how is the syntax in the
validator config file.

Thanks,
JP

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to