diff --git a/pep2html.py b/pep2html.py index 4d8ecbc64..6c0266b21 100755 --- a/pep2html.py +++ b/pep2html.py @@ -69,7 +69,7 @@ to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! DTD = ('') -fixpat = re.compile("((http|ftp):[-_a-zA-Z0-9/.+~:?#$=&,]+)|(pep-\d+(.txt)?)|" +fixpat = re.compile("((https?|ftp):[-_a-zA-Z0-9/.+~:?#$=&,]+)|(pep-\d+(.txt)?)|" "(RFC[- ]?(?P\d+))|" "(PEP\s+(?P\d+))|" ".")