On Fri, 18 Nov 2011 21:08:12 -0200, Barry Books <trs...@gmail.com> wrote:

I'm having a problem with regexp validation. If I put
zip-regexp=^\\d{5}(-\\d{4})?$

Have you tried ^\d{5}(-\d{4})?$ ? The double backslashes are need in Java code to escape the '\' character, but isn't needed outside code.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to