diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index a41c4d6da..4f9fffc94 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -342,8 +342,8 @@ function run_sparse { local warnings=$(grep -c ' warning:' "${outputfile}") echo "${errors} errors / ${warnings} warnings." cat "${outputfile}" \ - | grep -E 'warning:|error:' \ - | sed -e 's/^[^ ]*:[^ ]*:[^ ]*: //' \ + | grep -E ' warning:| error:' \ + | sed -e 's/^[^:]*:[0-9:]* //' \ -e "s/context imbalance in '[^']*':/context imbalance in :/g" \ -e "s/context problem in '[^']*': '[^']*'/context problem in : /g" \ -e "s/function '[^']*'/function/g" \