RE: regexp bug

2001-09-14 Thread Radek Wisniewski
On Thu, 13 Sep 2001, David Lindquist wrote: > Whoops. Should have done my homework. It appears that Xerces does not > recognize the "^" and "$". > > I think this is what you want: > > > > It's only partial solution. In this manner I can not constraint length of substrings enclosed in string. I

RE: regexp bug

2001-09-13 Thread David Lindquist
Whoops. Should have done my homework. It appears that Xerces does not recognize the "^" and "$". I think this is what you want: -Original Message- From: Radek Wisniewski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2001 7:12 AM To: [EMAIL PROTECTED] Subject: regexp bug Pa

RE: regexp bug

2001-09-13 Thread David Lindquist
This is not an error. The regex pattern specifies that the value must contain two, three, or four "a" characters. It does NOT specify that the value must ONLY contain two, three, or four "a" characters. Try using ^[a]{2,4}$ -Original Message- From: Radek Wisniewski [mailto:[EMAIL PROTECTE