From 79f851aa0e3a6b230ddf4572f5b224f532722f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 2 Jun 2021 13:54:07 +0200 Subject: [PATCH] fix regex --- process_benchmark_output.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_benchmark_output.pl b/process_benchmark_output.pl index d5fa34e..781996d 100755 --- a/process_benchmark_output.pl +++ b/process_benchmark_output.pl @@ -63,7 +63,7 @@ if ($bench_type eq 'block_sim') { while (<$input_handle>) { # Strip both ends. Aren't hidden loop variables and default operator # arguments great? - s/^\s+|\s+$//; + s/^\s+|\s+$//g; $start_processing = 1 if /^Done!$/; next if not $start_processing; @@ -111,7 +111,7 @@ if ($bench_type eq 'block_sim') { my $epoch_length = 0; while (<$input_handle>) { # Strip both ends. - s/^\s+|\s+$//; + s/^\s+|\s+$//g; $start_processing = 1 if /^:Done!$/; next if not $start_processing;