filter_allocs now also works when any of the numbers to be filtered out is greater than or equal to 1000.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7925 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/tests/filter_allocs b/memcheck/tests/filter_allocs
index 9ad6d23..9013deb 100755
--- a/memcheck/tests/filter_allocs
+++ b/memcheck/tests/filter_allocs
@@ -1,6 +1,6 @@
 #! /bin/sh
 
 ./filter_stderr |
-sed "s/malloc\/free: in use at exit: [0-9]* bytes in [0-9]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" |
-sed "s/malloc.free: [0-9]* allocs, [0-9]* frees, [0-9]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"
+sed -e "s/malloc\/free: in use at exit: [0-9,]* bytes in [0-9,]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" \
+    -e "s/malloc.free: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"