summaryrefslogtreecommitdiffstats
path: root/Tools/faqwiz
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 13:59:41 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 13:59:41 (GMT)
commit92c90329d191ede028ee544e1b996ce83c4aab18 (patch)
tree176d6724553d847ea23a925445cc2609ad422e31 /Tools/faqwiz
parentce320966616c6302858def177186bc7ab5eef2e1 (diff)
downloadcpython-92c90329d191ede028ee544e1b996ce83c4aab18.zip
cpython-92c90329d191ede028ee544e1b996ce83c4aab18.tar.gz
cpython-92c90329d191ede028ee544e1b996ce83c4aab18.tar.bz2
Recognize https:// as URL as well.
Diffstat (limited to 'Tools/faqwiz')
-rw-r--r--Tools/faqwiz/faqwiz.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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: