From 3824aeaab89d4b712740c08ec644df352dbb24df Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 10 Jun 2011 10:53:59 +0000 Subject: [PATCH] change regexp for ascii escapes in log --- src/lib/Hydra/Helper/Nix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/Nix.pm b/src/lib/Hydra/Helper/Nix.pm index baaceee3..221408d8 100644 --- a/src/lib/Hydra/Helper/Nix.pm +++ b/src/lib/Hydra/Helper/Nix.pm @@ -261,7 +261,7 @@ sub getLatestSuccessfulViewResult { sub removeAsciiEscapes { my ($logtext) = @_; - $logtext =~ s/\e\[[A-Za-z]//g; + $logtext =~ s/\e\[[0-9]*[A-Za-z]//g; return $logtext; }