summaryrefslogtreecommitdiffstats
path: root/Lib/sre_parse.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-09-02 07:44:32 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-09-02 07:44:32 (GMT)
commit17289426e247c27e53e13a14741a1fea573a156e (patch)
treecfe5227cd808a9d6f1d66a2e907ffb23825f091d /Lib/sre_parse.py
parent8586991099e4ace18ee94163a96b8ea1bed77ebe (diff)
downloadcpython-17289426e247c27e53e13a14741a1fea573a156e.zip
cpython-17289426e247c27e53e13a14741a1fea573a156e.tar.gz
cpython-17289426e247c27e53e13a14741a1fea573a156e.tar.bz2
SourceForge patch 101396, by an anonymous friend.
"sre_parse.py missing '7' in DIGITS"
Diffstat (limited to 'Lib/sre_parse.py')
-rw-r--r--Lib/sre_parse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py
index a50191e..4286aca 100644
--- a/Lib/sre_parse.py
+++ b/Lib/sre_parse.py
@@ -17,7 +17,7 @@ MAXREPEAT = 65535
SPECIAL_CHARS = ".\\[{()*+?^$|"
REPEAT_CHARS = "*+?{"
-DIGITS = tuple("012345689")
+DIGITS = tuple("0123456789")
OCTDIGITS = tuple("01234567")
HEXDIGITS = tuple("0123456789abcdefABCDEF")