hello,
this one works quite well on validating email syntax:
http://www.secureprogramming.com/?action="">
regards,
DimitriOn 7/20/05, Dark Cowherd <[EMAIL PROTECTED]> wrote:
This seems to give reasonable results.import repattern = r'[EMAIL PROTECTED],4}\b'pattobj = re.compile(pattern)ps = pattobj.
This seems to give reasonable results.
import re
pattern = r'[EMAIL PROTECTED],4}\b'
pattobj = re.compile(pattern)
ps = pattobj.search
if ps(stringtocheck):
But as lots of people have already told you on this list. This should
only be used to give a warning and not prevent the use of that
p
Jorgen Grahn <[EMAIL PROTECTED]> writes:
> Agree. In the case of user input validation, it might be ok to politely
> inform the user that the address looks a bit funny, but refusing to work
> with it will anger a user sooner or later.
Yup. I use cryptographically signed addresses as one-time addre
On Mon, 18 Jul 2005 06:44:36 -0400, Benji York <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> I want to have the python equivalent function of this
>> (that checks email format)
>>
...
>> if (ereg("[[:alnum:[EMAIL PROTECTED]:alnum:]]+\.[[:alnum:]]+",
...
>
> While it is possible to tra
Hello met,
> I want to have the python equivalent function of this
> (that checks email format)
>
> function CheckEmail($Email = "") {
> if (ereg("[[:alnum:[EMAIL PROTECTED]:alnum:]]+\.[[:alnum:]]+",
> $Email)) {
> return true;
> } else {
> return false;
> }
> }
Check out the "email
[EMAIL PROTECTED] wrote:
> I want to have the python equivalent function of this
> (that checks email format)
>
> function CheckEmail($Email = "") {
> if (ereg("[[:alnum:[EMAIL PROTECTED]:alnum:]]+\.[[:alnum:]]+",
> $Email)) {
> return true;
> } else {
> return false;
> }
> }
While