aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xparse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.py b/parse.py
index 4553e06..cbad629 100755
--- a/parse.py
+++ b/parse.py
@@ -315,7 +315,7 @@ def create_inst_dict(file_filter, include_pseudo=False, include_pseudo_ops=[]):
# extension. Else throw error.
found = False
for oline in open(ext_file):
- if not re.findall(f'^\s*{orig_inst}\s+',oline):
+ if not re.findall(f'^\\s*{orig_inst}\\s+',oline):
continue
else:
found = True
@@ -382,7 +382,7 @@ def create_inst_dict(file_filter, include_pseudo=False, include_pseudo_ops=[]):
# extension. Else throw error.
found = False
for oline in open(ext_file):
- if not re.findall(f'^\s*{reg_instr}\s+',oline):
+ if not re.findall(f'^\\s*{reg_instr}\\s+',oline):
continue
else:
found = True