Use string filter instead of regular expression.

As suggested by @zenspider in
https://github.com/seattlerb/minitest/pull/267#issuecomment-16321205