From: Guido van Rossum Date: Mon, 18 Aug 1997 13:59:41 +0000 (+0000) Subject: Recognize https:// as URL as well. X-Git-Tag: v1.5a4~385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92c90329d191ede028ee544e1b996ce83c4aab18;p=python Recognize https:// as URL as well. --- diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index c2dbd00743..d3806707a9 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -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: