From: Guido van Rossum Date: Fri, 22 May 1998 19:43:21 +0000 (+0000) Subject: Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}. X-Git-Tag: v1.5.2a1~554 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55b40b06d2cb3e6effd3aa663813923c4001ee66;p=python Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}. Now you can click on revisions and diffs again! --- diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index 318b6422ac..49af1a8b95 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -105,7 +105,7 @@ revparse_prog = None def revparse(rev): global revparse_prog if not revparse_prog: - revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1-4})$') + revparse_prog = re.compile(r'^(\d{1,3})\.(\d{1,4})$') m = revparse_prog.match(rev) if not m: return None