about summary refs log tree commit diff stats
path: root/miasm/ir/ir.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/ir/ir.py')
-rw-r--r--miasm/ir/ir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/ir/ir.py b/miasm/ir/ir.py
index e9b86899..d26c5d1d 100644
--- a/miasm/ir/ir.py
+++ b/miasm/ir/ir.py
@@ -48,7 +48,7 @@ def _expr_loc_to_symb(expr, loc_db):
     return m2_expr.ExprId(name, expr.size)
 
 
-ESCAPE_CHARS = re.compile('[' + re.escape('{}') + '&|<>' + ']')
+ESCAPE_CHARS = re.compile(r'[\{\}&|<>]')
 
 class TranslatorHtml(Translator):
     __LANG__ = "custom_expr_color"