tests: ensure regexes match to the end of the string
Regular expressions in the test suite are currently written assuming
that you need a trailing ".*" to avoid matching to the end.
Instead of matching regular expressions using "^pattern", this patch
makes matching more restrictive by matching "^pattern$".
[ original upstream message ]
syntax: glob
*.pyc
*.pyo
*~
*.swp
*.orig
*.rej
.DS_Store
build/*
MANIFEST