summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/sre_pars.py
diff options
context:
space:
mode:
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