, 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
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
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
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
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
5 matches
Mail list logo