Removing $& from regex matching, fixes #238.

This fix has no real speed effect on the test suite, but might make a
difference in large directories.