diff options
author | Sverker Eriksson <sverker@erlang.org> | 2021-10-04 23:37:22 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2021-10-04 23:37:57 +0200 |
commit | 2de33b8258e4989344de6dfb592d4e30237207ae (patch) | |
tree | e8bd05f44d4442da9f944ca54d1a8f2a5f836fb9 | |
parent | c5a3165db1dbdd6f2b1c320f311b641ab401c68a (diff) | |
download | erlang-2de33b8258e4989344de6dfb592d4e30237207ae.tar.gz |
Fix asan_logs_to_html regex
when a file ends with an ErrorReport.
-rwxr-xr-x | erts/emulator/asan/asan_logs_to_html | 3 |
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 - |