From e6d766e81c2c8fd0593778f9996103a65019189a Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 21 Jul 2006 11:11:44 +0000 Subject: [PATCH] Fix broken regex Don't know how I managed to use this before... maybe a different regex library. --- utils/nofib-analyse/Slurp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nofib-analyse/Slurp.hs b/utils/nofib-analyse/Slurp.hs index f775bae..a457857 100644 --- a/utils/nofib-analyse/Slurp.hs +++ b/utils/nofib-analyse/Slurp.hs @@ -75,7 +75,7 @@ Various banner lines: ==nofib== boyer2: time to compile Checker follows... -} -banner_re = mkRegex "^==nofib==[ \t]+([A-Za-z0-9-_]+):[ \t]+(size of|time to link|time to run|time to compile)[ \t]+([A-Za-z0-9-_]+)(\\.o)?[ \t]+follows" +banner_re = mkRegex "^==nofib==[ \t]+([A-Za-z0-9\\-_]+):[ \t]+(size of|time to link|time to run|time to compile)[ \t]+([A-Za-z0-9\\-_]+)(\\.o)?[ \t]+follows" {- This regexp for the output of "time" works on FreeBSD, other versions -- 1.7.10.4