Add --match option (and tests)

Uses shell filename pattern