run-tests: test each line matching function on its own
This has several advantages.
* Each match function can return some information to the caller runone (used in
the next patch).
* It is not checked that the line ends in " (glob)" when rematch() returns
false.
* And it looks more readable.
[ original upstream message ]
syntax: glob
*.pyc
*.pyo
*~
*.swp
*.orig
*.rej
.DS_Store
build/*
MANIFEST