summaryrefslogtreecommitdiff
path: root/tablib/packages/xlwt3/ExcelFormulaLexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tablib/packages/xlwt3/ExcelFormulaLexer.py')
-rw-r--r--tablib/packages/xlwt3/ExcelFormulaLexer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tablib/packages/xlwt3/ExcelFormulaLexer.py b/tablib/packages/xlwt3/ExcelFormulaLexer.py
index 5dc546c..9b6103c 100644
--- a/tablib/packages/xlwt3/ExcelFormulaLexer.py
+++ b/tablib/packages/xlwt3/ExcelFormulaLexer.py
@@ -2,7 +2,7 @@ import sys
from .antlr import EOF, CommonToken as Tok, TokenStream, TokenStreamException
import struct
from . import ExcelFormulaParser
-from re import compile as recompile, match, LOCALE, UNICODE, IGNORECASE, VERBOSE
+from re import compile as recompile, match, UNICODE, IGNORECASE, VERBOSE
int_const_pattern = r"\d+\b"
@@ -49,7 +49,7 @@ pattern_type_tuples = (
_re = recompile(
'(' + ')|('.join([i[0] for i in pattern_type_tuples]) + ')',
- VERBOSE+LOCALE+IGNORECASE)
+ VERBOSE+IGNORECASE)
_toktype = [None] + [i[1] for i in pattern_type_tuples]
# need dummy at start because re.MatchObject.lastindex counts from 1