summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2021-10-12 20:37:46 +0200
committerSverker Eriksson <sverker@erlang.org>2021-10-12 20:37:46 +0200
commit4744d7dd4e15864d648a783d0fa5564ca7bde33d (patch)
tree39e1b3db5bec2c03f4f450822d283c3a949e3dc7
parente95429faceeacac983e387be193bead37c831302 (diff)
parent2de33b8258e4989344de6dfb592d4e30237207ae (diff)
downloaderlang-4744d7dd4e15864d648a783d0fa5564ca7bde33d.tar.gz
Merge branch 'sverker/asan_logs_to_html-fix' into maint
-rwxr-xr-xerts/emulator/asan/asan_logs_to_html3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/asan/asan_logs_to_html b/erts/emulator/asan/asan_logs_to_html
index 14c9b7fcde..fad5ce7137 100755
--- a/erts/emulator/asan/asan_logs_to_html
+++ b/erts/emulator/asan/asan_logs_to_html
@@ -152,7 +152,8 @@ match_loop(Out, Bin, RegEx0, LogAcc0, PrevEnd, Unmatched0, LM0) ->
%% ErrorReport
"(?:(==ERROR: AddressSanitizer:.*\n"
"(?:.*\n)+?)" % any lines (non-greedy)
- "^(?:==|--))" % stop at line begining with == or --
+ "(?:^(?:==|--)|\\z))" % stop at line begining with == or --
+ % or at end-of-string
"|"
%% Skipped
"(?:^[=-]+$)" % skip lines consisting only of = or -