Commit 3e5a676b authored by Taddeus Kroes's avatar Taddeus Kroes

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

parent a793a96a
...@@ -212,7 +212,8 @@ class Parser(BisonParser): ...@@ -212,7 +212,8 @@ class Parser(BisonParser):
i = 0 i = 0
while i < len(data): 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 i += 1
# Replace escape sequences with original keywords. # Replace escape sequences with original keywords.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment