It seems @Validate("regexp") only support fixed number
of matches such as \\d{4}, and doesnt support "one or
more" or "zero or more" matches(\\d* or \\d+).

Sige


--- Sige <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have tried to use a  @Validate("regexp") to
> validate
> a number field, the regexp used is:
> numField-regexp=\\-*\\d*\\.*\\d*
> 
> However this doesnt work in T5 (5.0.9), the
> validation
> is simply ignored, i have tested the regular
> expression  in Java correct. I wonder if T5 supports
> all java.util.regex.Pattern, or what I have gone
> wrong?
> 
> Thanks
> 
> Sige
> 
> Send instant messages to your online friends
> http://au.messenger.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Send instant messages to your online friends http://au.messenger.yahoo.com 

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

Reply via email to