>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.
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\\-]+)