Changes between Initial Version and Version 1 of Ticket #12196


Ignore:
Timestamp:
Nov 10, 2009, 5:17:49 PM (15 years ago)
Author:
Alex Gaynor
Comment:

Please use preview.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12196 – Description

    initial v1  
    11To fix that problem, just change
    2 
     2{{{
    33email_re = re.compile(
    44    r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*"  # dot-atom
    55    r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-011\013\014\016-\177])*"' # quoted-string
    66    r')@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?$', re.IGNORECASE)  # domain
    7 
     7}}}
    88TO
    9 
     9{{{
    1010email_re = re.compile(
    1111    r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]*)*"  # dot-atom
    1212    r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-011\013\014\016-\177])*"' # quoted-string
    1313    r')@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?$', re.IGNORECASE)  # domain
    14 
     14}}}
    1515in the file django.forms.fields.py
    1616
Back to Top