diff --git a/CHANGELOG.md b/CHANGELOG.md index bcd36ff42..a94104477 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -117,10 +117,12 @@ The table below shows which release corresponds to each branch, and what date th - [#2533][2533] Fix installation on Python 3.5 and lower - [#2518][2518] fix: update apport coredump path handling for CorefileFinder - [#2559][2559] Fix parsing corefile with missing auxv +- [#2562][2562] Fix syntax highlighting of multiline comments in ASM [2533]: https://github.com/Gallopsled/pwntools/pull/2533 [2518]: https://github.com/Gallopsled/pwntools/pull/2518 [2559]: https://github.com/Gallopsled/pwntools/pull/2559 +[2562]: https://github.com/Gallopsled/pwntools/pull/2562 ## 4.14.0 diff --git a/pwnlib/lexer.py b/pwnlib/lexer.py index b3a3ac64f..49fa8141a 100644 --- a/pwnlib/lexer.py +++ b/pwnlib/lexer.py @@ -95,7 +95,7 @@ class PwntoolsLexer(RegexLexer): 'whitespace': [ (r'\n', Text), (r'\s+', Text), - (r'/\*.*?\*/', Comment), + (r'(?ms)/\*.*?\*/', Comment), (r';.*$', Comment) ], 'punctuation': [