about summary refs log tree commit diff stats
path: root/miasm/core/graph.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2025-01-24 09:19:48 +0100
committerGitHub <noreply@github.com>2025-01-24 09:19:48 +0100
commit0164999126ce49b8033eea283467c5d719a25640 (patch)
treed32a0a96849f16012013bbb245ded833558b1741 /miasm/core/graph.py
parentcbc722eed8dc807955bd46f84886ae74d161dd0c (diff)
parente46b1fc2551d112f2f7c2849a780d102d84b8f7b (diff)
downloadfocaccia-miasm-0164999126ce49b8033eea283467c5d719a25640.tar.gz
focaccia-miasm-0164999126ce49b8033eea283467c5d719a25640.zip
Merge pull request #1505 from serpilliere/fix_xdot_output
Fix xdot output
Diffstat (limited to 'miasm/core/graph.py')
-rw-r--r--miasm/core/graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/graph.py b/miasm/core/graph.py
index e680894c..debea38e 100644
--- a/miasm/core/graph.py
+++ b/miasm/core/graph.py
@@ -20,7 +20,7 @@ class DiGraph(object):
         # N -> Nodes N2 with a edge (N2 -> N)
         self._nodes_pred = {}
 
-        self.escape_chars = re.compile(r'[\{\}&|<>]')
+        self.escape_chars = re.compile('[' + re.escape('{}[]') + '&|<>' + ']')
 
 
     def __repr__(self):