Do you know where your variables are? | |
PerlMonks |
Re^6: Please evaluate: RegEx for validating e-mail addressesby Limbic~Region (Chancellor) |
on Sep 26, 2004 at 14:09 UTC ( [id://393940]=note: print w/replies, xml ) | Need Help?? |
Dave,
If a particular network is going to send and receive email over the internet... DaWolf didn't indicate what purpose the email validator was going to be used for. That is why I said "context is important". I should likely have said without knowing the context, it is impossible to say how close to the RFC you need to get. I gave two examples in my reply to merlyn of where local context would be a factor, but I admit that it is just as probable that the form was to validate the "from" address of a form mailer and should be full RFC compliant. Now that the context is known, the possibilities I presented are pointless. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|