Re: different results matching regex with SDK 1.4.2

2003-12-09 Thread Oleg Sukhodolsky
>I'm not sure if it's correct or incorrect as far as the definition, > but it would appear the "-" after the 9 isn't being treated as a > character, but a range. I think this is because of the bug 2121 ('.' or '-' in bracket expression gives unexpected). With best regards, Oleg.

Re: different results matching regex with SDK 1.4.2

2003-12-08 Thread Aaron Hughes
Victor, I'm not sure if it's correct or incorrect as far as the definition, but it would appear the "-" after the 9 isn't being treated as a character, but a range. The following seems to give your desired result. "^[_A-Za-z0-9\\-]+(\\.[_A-Za-z0-9\\-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9\\-]+)