Switch to extended regular expressions in testall grepping.

Using extended regular expression via escaping doesn't work on neither
HP-UX nor AIX, so we need to switch grep into real extended mode. Also
has the benefit of making the regular expression more readable.