diff options
Diffstat (limited to 'Lib/sre_compile.py')
-rw-r--r-- | Lib/sre_compile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_compile.py b/Lib/sre_compile.py index a593ee7..e5c501e 100644 --- a/Lib/sre_compile.py +++ b/Lib/sre_compile.py @@ -208,7 +208,7 @@ def _compile(code, pattern, flags): else: emit(OPCODES[op]) emit(av-1) - elif op is MARK: + elif op in (MARK, INDEX): emit(OPCODES[op]) emit(av) else: |