  from django.utils.encoding import iri_to_uri
  from django.utils.html import escape
  from django.utils.safestring import SafeData, mark_safe
  from rest_framework.compat import urlparse, force_text, six, smart_urlquote
  import re, string
  
  register = template.Library()
  
  
  # Note we don't use 'load staticfiles', because we need a 1.3 compatible
 
</s> remove         match = None
 </s> add  </s> remove simple_url_2_re = re.compile(r'^www\.|^(?!http)\w[^@]+\.(com|edu|gov|int|mil|net|org)$', re.IGNORECASE)
 </s> add simple_url_2_re = re.compile(r'^www\.|^(?!http)\w[^@\[\]]+\.(com|edu|gov|int|mil|net|org)$', re.IGNORECASE)
import re
  from django.utils.encoding import iri_to_uri
  from django.utils.html import escape
  from django.utils.safestring import SafeData, mark_safe
  from rest_framework.compat import urlparse, force_text, six, smart_urlquote
import re
  
  register = template.Library()
  
  
  # Note we don't use 'load staticfiles', because we need a 1.3 compatible
keep keep keep keep replace keep keep keep keep keep
 update regex for matching URLs, fixes issue #1386 
rest_framework/templatetags/rest_framework.py