Re: Email Id Verification

2012-05-25 Thread Grant Edwards
On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Why do you want to write buggy code that makes your users

Re: Email Id Verification

2012-05-25 Thread Peter Pearson
On Fri, 25 May 2012 13:36:18 + (UTC), Grant Edwards wrote: [snip] . . . Nothing will make your users swear at you as certainly as when you refuse to accept the e-mail address at which the reeive e-mail all day every day. Amusingly, every time I log into Discovercard's web site, I get a

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 2:25 AM, Peter Pearson ppearson@nowhere.invalid wrote: Amusingly, every time I log into Discovercard's web site, I get a red-letter warning that my registered email address is invalid.  Inquiring, I was told that the presence of the substring spam anywhere in the

Re: Email Id Verification

2012-05-25 Thread Ian Kelly
On Fri, May 25, 2012 at 10:33 AM, Chris Angelico ros...@gmail.com wrote: On Sat, May 26, 2012 at 2:25 AM, Peter Pearson ppearson@nowhere.invalid wrote: Amusingly, every time I log into Discovercard's web site, I get a red-letter warning that my registered email address is invalid.  

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 3:04 AM, Ian Kelly ian.g.ke...@gmail.com wrote: I would think that it is not an anti-spam measure, but simply due to the fact that most addresses containing spam tend to be something like nos...@invalid.net, being either a fake address or a junk inbox that is only

Re: Email Id Verification

2012-05-25 Thread Cameron Simpson
On 25May2012 13:36, Grant Edwards invalid@invalid.invalid wrote: | On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: | On Thu, 24 May 2012 05:32:16 -0700, niks wrote: | Hello everyone.. | I am new to asp.net... | I want to use Regular Expression validator in Email id

Re: Email Id Verification

2012-05-25 Thread Jon Clements
On Friday, 25 May 2012 14:36:18 UTC+1, Grant Edwards wrote: On 2012-05-25, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id

Email Id Verification

2012-05-24 Thread niks
Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Thu, May 24, 2012 at 10:32 PM, niks nikunjparmar...@gmail.com wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w

Re: Email Id Verification

2012-05-24 Thread alister
On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* this is not really

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Thu, May 24, 2012 at 11:45 PM, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:        And maybe follow-up with a review of this monster: http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html That is awesome. Epic. Eyeball-bleeding. ChrisA --

Re: Email Id Verification

2012-05-24 Thread John Nagle
On 5/24/2012 5:32 AM, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Not a Python question

Re: Email Id Verification

2012-05-24 Thread Ben Finney
John Nagle na...@animats.com writes: It matches anything that looks like a mail user name followed by an @ followed by anything that looks more or less like a domain name. The domain name must contain at least one ., and cannot end with a ., which is not strictly correct but usually works.

Re: Email Id Verification

2012-05-24 Thread Cameron Simpson
On 25May2012 01:20, Chris Angelico ros...@gmail.com wrote: | On Thu, May 24, 2012 at 11:45 PM, Dennis Lee Bieber | wlfr...@ix.netcom.com wrote: |        And maybe follow-up with a review of this monster: | http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html | | That is awesome. Epic.

Re: Email Id Verification

2012-05-24 Thread Cameron Simpson
On 24May2012 05:32, niks nikunjparmar...@gmail.com wrote: | Hello everyone.. | I am new to asp.net... Time to run away fast before you're commited then:-) You're aware this is a _python_ list/group, yes? | I want to use Regular Expression validator in Email id verification.. You can't. Valid

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Fri, May 25, 2012 at 9:03 AM, Cameron Simpson c...@zip.com.au wrote: On 24May2012 05:32, niks nikunjparmar...@gmail.com wrote: | Hello everyone.. | I am new to asp.net... Time to run away fast before you're commited then:-) You're aware this is a _python_ list/group, yes? Committed to an

Re: Email Id Verification

2012-05-24 Thread Steven D'Aprano
On Thu, 24 May 2012 05:32:16 -0700, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Why do you want to write buggy code that makes your users hate your program? Don't do it! Write good code, useful code! Validating

Re: Email Id Verification

2012-05-24 Thread MRAB
in Email id verification.. You can't. Valid addresses including nesting comments. Regexps don't do recursion. Some regex implementations _can_ do recursion. | Can anyone tell me how to use this and what is the meaning of | this | \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* If you don't

Re: Email Id Verification

2012-05-24 Thread Paul Rubin
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: Why do you want to write buggy code that makes your users hate your program? ... The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO IT. Of course spamming people will make them hate you even more.

Re: Email Id Verification

2012-05-24 Thread Steven D'Aprano
On Thu, 24 May 2012 18:35:21 -0700, Paul Rubin wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: Why do you want to write buggy code that makes your users hate your program? ... The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO IT. Of course

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Fri, May 25, 2012 at 11:35 AM, Paul Rubin no.email@nospam.invalid wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: Why do you want to write buggy code that makes your users hate your program? ... The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO

Re: Email Id Verification

2012-05-24 Thread Ben Finney
Paul Rubin no.email@nospam.invalid writes: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: Why do you want to write buggy code that makes your users hate your program? ... The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO IT. Of course spamming

Re: Email Id Verification

2012-05-24 Thread Paul Rubin
Ben Finney ben+pyt...@benfinney.id.au writes: The point is that, having collected the email address, it's useless unless one actually uses it *as an email address*, by sending a message to it. Before then, “validating” it tells you nothing. Right, the only legitimate use of an email address is