It does working for the expression "[EMAIL PROTECTED],4}$" but when I tried to add a-z 
on the same expression it says invalid expression I mean [EMAIL PROTECTED],4}$

Any clue where I'm wrong...?

-Ram



-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 2:58 PM
To: Ramadoss Chinnakuzhandai
Subject: RE: Email Validation Rules


Strange, your pattern resolves as true in the validator 1.0.2 and the
development nightly v1.X development build. From their cvs source, I don't
see how it would validate. :(  I can't find the RFC at the moment to see if
that's a valid character.  I figure it should end in an alphabetic
character.

Regards,
David

-----Original Message-----
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:46 PM
To: David Friedman
Subject: RE: Email Validation Rules


for example it does accepting [EMAIL PROTECTED] -here I appended a special
character ! at the end.



-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:46 PM
To: Ramadoss Chinnakuzhandai
Subject: RE: Email Validation Rules


Any examples of the character's it's letting through so I can see for
myself?

thanks,
David

-----Original Message-----
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:42 PM
To: Struts Users Mailing List
Subject: RE: Email Validation Rules


yeah...I tried that way but the problem I belive is it does accepting
special character after the . part of email address.

any other idea how to make it work....???




-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:16 PM
To: Struts Users Mailing List
Subject: RE: Email Validation Rules


I'd suggest calling:

org.apache.commons.validator.GenericValidator.isEmail(String arg);


-----Original Message-----
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:03 PM
To: Struts Users Mailing List
Subject: Email Validation Rules


Can any one correct me where I'm wrong using the following rule for
validating email address....It fails to validate against the valid email
address..?

[EMAIL PROTECTED],4}$

Tnx in advance :)

-Ram







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to