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 e5adb7e..bb17649 100644 --- a/Lib/sre_compile.py +++ b/Lib/sre_compile.py @@ -399,7 +399,7 @@ def _compile_info(code, pattern, flags): table[i+1] = table[table[i+1]-1]+1 code.extend(table[1:]) # don't store first entry elif charset: - _compile_charset(charset, 0, code) + _compile_charset(charset, flags, code) code[skip] = len(code) - skip STRING_TYPES = [type("")] |