]> granicus.if.org Git - python/commitdiff
Recognize https:// as URL as well.
authorGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 13:59:41 +0000 (13:59 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 13:59:41 +0000 (13:59 +0000)
Tools/faqwiz/faqwiz.py

index c2dbd00743eb31c0419aee1d271eed1e5c5c6321..d3806707a914a794a56ce365f2c4ae3543779940 100644 (file)
@@ -74,7 +74,7 @@ translate_prog = None
 def translate(text):
     global translate_prog
     if not translate_prog:
-       url = '\(http\|ftp\)://[^ \t\r\n]*'
+       url = '\(http\|ftp\|https\)://[^ \t\r\n]*'
        email = '\<[-a-zA-Z0-9._]+@[-a-zA-Z0-9._]+'
        translate_prog = prog = regex.compile(url + '\|' + email)
     else: