diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2025-01-23 21:56:03 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2025-01-24 08:36:24 +0100 |
| commit | e46b1fc2551d112f2f7c2849a780d102d84b8f7b (patch) | |
| tree | d32a0a96849f16012013bbb245ded833558b1741 /miasm/core/graph.py | |
| parent | cbc722eed8dc807955bd46f84886ae74d161dd0c (diff) | |
| download | focaccia-miasm-e46b1fc2551d112f2f7c2849a780d102d84b8f7b.tar.gz focaccia-miasm-e46b1fc2551d112f2f7c2849a780d102d84b8f7b.zip | |
Fix xdot output
Signed-off-by: Fabrice Desclaux <fabrice.desclaux@cea.fr>
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): |