diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2025-01-24 09:19:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 09:19:48 +0100 |
| commit | 0164999126ce49b8033eea283467c5d719a25640 (patch) | |
| tree | d32a0a96849f16012013bbb245ded833558b1741 /miasm/core/graph.py | |
| parent | cbc722eed8dc807955bd46f84886ae74d161dd0c (diff) | |
| parent | e46b1fc2551d112f2f7c2849a780d102d84b8f7b (diff) | |
| download | focaccia-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.py | 2 |
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): |