pattern matching non greedy greed non greedy pattern matching and optional suffixes in