diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2024-01-07 22:48:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-07 22:48:37 +0100 |
| commit | 3a2fb2472c0e8e01f84ed29be29a929775ed07ab (patch) | |
| tree | 17718031046a1e912072db057993b478aa0ce06e /miasm/core/utils.py | |
| parent | e9dee4eb5e8b8dc0b81e22598b754c8df29f1674 (diff) | |
| parent | 2bf07ad1eb835e12b4b3dbaf42f71adf888a8cc1 (diff) | |
| download | focaccia-miasm-3a2fb2472c0e8e01f84ed29be29a929775ed07ab.tar.gz focaccia-miasm-3a2fb2472c0e8e01f84ed29be29a929775ed07ab.zip | |
Merge pull request #1464 from mrexodia/python312
Python 3.12 support
Diffstat (limited to 'miasm/core/utils.py')
| -rw-r--r-- | miasm/core/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/utils.py b/miasm/core/utils.py index 41bf78c1..eb170576 100644 --- a/miasm/core/utils.py +++ b/miasm/core/utils.py @@ -26,7 +26,7 @@ COLOR_OP = "black" COLOR_MNEMO = "blue1" -ESCAPE_CHARS = re.compile('[' + re.escape('{}') + '&|<>' + ']') +ESCAPE_CHARS = re.compile(r'[\{\}&|<>]') def set_html_text_color(text, color): return '<font color="%s">%s</font>' % (color, text) |