Use StringMatch instead of MatchTailStar