RE: Help in using regex in Validation.xml

2007-08-01 Thread sriharsha . chevuru
ECTED] Sent: Wednesday, August 01, 2007 13:47 To: Struts Users Mailing List Subject: RE: Help in using regex in Validation.xml Not quite. With the regex ^000\d{6}$, if you DON'T get a match, the input could be any length and might not even be a number: after all, it isn't matching. A

RE: Help in using regex in Validation.xml

2007-08-01 Thread Rod Bollinger
: Struts Users Mailing List Subject: RE: Help in using regex in Validation.xml Not quite. With the regex ^000\d{6}$, if you DON'T get a match, the input could be any length and might not even be a number: after all, it isn't matching. All this checks is the particular case where you have

RE: Help in using regex in Validation.xml

2007-08-01 Thread sriharsha . chevuru
pointers would be of great help. "Christopher Loschen" <[EMAIL PROTECTED]> 08/01/2007 10:47 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: Help in using regex in Validation.xml Not quite. With the regex

RE: Help in using regex in Validation.xml

2007-08-01 Thread Christopher Loschen
ems aren't addressed. Chris -Original Message- From: Rod Bollinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 10:33 AM To: 'Struts Users Mailing List' Subject: RE: Help in using regex in Validation.xml This won't actually work. The parentheses should be brac

RE: Help in using regex in Validation.xml

2007-08-01 Thread Rod Bollinger
Sent: Wednesday, August 01, 2007 06:17 To: Struts Users Mailing List Subject: Re: Help in using regex in Validation.xml On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > This question can be termed as an OT as it is related to regex. I have a > validation criteria w

Re: Help in using regex in Validation.xml

2007-08-01 Thread Jasper Floor
On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > This question can be termed as an OT as it is related to regex. I have a > validation criteria which says: > > a number cannot start with "000" which is 9 digits in length. > > Can somebody help me in writing a regular expression for