summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/sre_pars.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-09-26 17:32:27 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-09-26 17:32:27 (GMT)
commitd635b1d724e79a1d2dce416b29a95c389fdfab30 (patch)
tree91545a903b9628f4a592b6d911fd9bd23d7510b6 /Lib/dos-8x3/sre_pars.py
parent0872e0585196a894c8c2c2dbea1a0fdd68391c90 (diff)
downloadcpython-d635b1d724e79a1d2dce416b29a95c389fdfab30.zip
cpython-d635b1d724e79a1d2dce416b29a95c389fdfab30.tar.gz
cpython-d635b1d724e79a1d2dce416b29a95c389fdfab30.tar.bz2
The Usual
Diffstat (limited to 'Lib/dos-8x3/sre_pars.py')
-rw-r--r--Lib/dos-8x3/sre_pars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos-8x3/sre_pars.py b/Lib/dos-8x3/sre_pars.py
index 55de24c..f4741c9 100644
--- a/Lib/dos-8x3/sre_pars.py
+++ b/Lib/dos-8x3/sre_pars.py
@@ -634,7 +634,7 @@ def parse_template(source, pattern):
while 1:
group = _group(this, pattern.groups+1)
if group:
- if (not s.next or
+ if (s.next not in DIGITS or
not _group(this + s.next, pattern.groups+1)):
code = MARK, int(group)
break