Add prefix and suffix matches

Issue #29