Skip to content
Snippets Groups Projects
Commit 3e5a676b authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added ICNORECASE flag to preprocessor to allow expressions like 'aC'.

parent a793a96a
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,8 @@ class Parser(BisonParser):
i = 0
while i < len(data):
data = data[:i] + re.sub(pattern, preprocess_data, data[i:])
data = data[:i] + re.sub(pattern, preprocess_data, data[i:],
flags=re.IGNORECASE)
i += 1
# Replace escape sequences with original keywords.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment