commit | 92c90329d191ede028ee544e1b996ce83c4aab18 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 18 13:59:41 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 18 13:59:41 1997 +0000 |
tree | 176d6724553d847ea23a925445cc2609ad422e31 | |
parent | ce320966616c6302858def177186bc7ab5eef2e1 [diff] [blame] |
Recognize https:// as URL as well.
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index c2dbd00..d380670 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py
@@ -74,7 +74,7 @@ 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: