RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jarnot Voytek Contr AU HQ/SC
, 2002 9:28 AM To: Struts Users Mailing List Subject: RE: Struts Validator 4 digit numeric Yes, I did try that, it causes the same "Nested repetitions *?+ in expression" error. However removing the * seems to have fixed things. I thought the * had to be in the mask expression in valid

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jason Rosen
a good Reg. Expression tutorial? Thanks. Greg -Original Message- From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 9:14 AM To: 'Struts Users Mailing List' Subject: RE: Struts Validator 4 digit numeric Did you try ^\d{4}$ Why do

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Greg Dunn
a good Reg. Expression tutorial? Thanks. Greg -Original Message- From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 9:14 AM To: 'Struts Users Mailing List' Subject: RE: Struts Validator 4 digit numeric Did you try ^\d{4}$ Why do you i

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jarnot Voytek Contr AU HQ/SC
Did you try ^\d{4}$ Why do you include the * in your regexp - I think that's what's breaking it. -- Voytek Jarnot -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 9:07 AM To: Struts Users Mailing List Subject: Struts Validat

Struts Validator 4 digit numeric

2002-11-27 Thread Greg Dunn
I'm trying to use Struts Validator to validate a 4 digit numeric using a mask: mask ^[0-9]{4}*$ Which causes: "Invalid expression: ^[0-9]{4}*$ Nested repetitions *?+ in expression" The expression ^[0-9]^4*$ causes no exception but it throws out '0