Add a pattern match operator