Thank you.
I'm learning Django, learning english.
Now I,m learning RFC :)
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email t
On Mon, Dec 19, 2011 at 7:20 PM, Wim Lewis wrote:
>
> On 19 Dec 2011, at 4:50 PM, Nick Fitzsimons wrote:
>> Strictly speaking that regex cannot determine that an email address is
>> well-formed per the RFC as the grammar defining the form of email addresses
>> is a Type 2 Chomsky Grammar and reg
On 19 Dec 2011, at 4:50 PM, Nick Fitzsimons wrote:
> Strictly speaking that regex cannot determine that an email address is
> well-formed per the RFC as the grammar defining the form of email addresses
> is a Type 2 Chomsky Grammar and regular expressions are limited to Type 3
> Chomsky Grammar
Strictly speaking that regex cannot determine that an email address is
well-formed per the RFC as the grammar defining the form of email addresses is
a Type 2 Chomsky Grammar and regular expressions are limited to Type 3 Chomsky
Grammars.
Off topic weirdness: I did a quick Google to make sure I
On Mon, Dec 19, 2011 at 12:51 PM, Ian Kelly wrote:
> On Mon, Dec 19, 2011 at 9:36 AM, Maxim Badika wrote:
>> Hello all!
>>
>> i found that
>>
>> email_re.search(u'my...@mydomain.com.') # with dot at the end of
>> address
>>
>> returns true. I think that is incorrect.
>> Thanks.
>
> That is actual
Useful/interesting read: "I knew how to validate an e-mail address until I
read the RFC" [1].
And a full regex for validating e-mails per the RFC is available here[2],
not that you'd want to use it.
[1]
http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
[2
On Mon, Dec 19, 2011 at 9:36 AM, Maxim Badika wrote:
> Hello all!
>
> i found that
>
> email_re.search(u'my...@mydomain.com.') # with dot at the end of
> address
>
> returns true. I think that is incorrect.
> Thanks.
That is actually correct, and it is equivalent to "my...@domain.com".
See RFC 36
Hello all!
i found that
email_re.search(u'my...@mydomain.com.') # with dot at the end of
address
returns true. I think that is incorrect.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django