Commits

ojii  committed ee7ec77

* removed old code from Library

  • Participants
  • Parent commits 47bbc48

Comments (0)

Files changed (1)

     parsers. Also handles building BBCode Parse Trees and the automated help
     generation.
     """
-    ds_vars = re.compile('<([a-zA-Z0-9.@]+)>')
-    ds_urls = re.compile('(?#Protocol)(?:(?:ht|f)tp(?:s?)\:\/\/|~/|/)?(?#Username:Password)(?:\w+:\w+@)?(?#Subdomains)(?:(?:[-\w]+\.)+(?#TopLevel Domains)(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum|travel|[a-z]{2}))(?#Port)(?::[\d]{1,5})?(?#Directories)(?:(?:(?:/(?:[-\w~!$+|.,=]|%[a-f\d]{2})+)+|/)+|\?|#)?(?#Query)(?:(?:\?(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)(?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)*)*(?#Anchor)(?:#(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)?')
     name_pat1 = re.compile('([a-z0-9])([A-Z])')
     name_pat2 = re.compile('(.)([A-Z][a-z]+)')