Match Input With Pattern v7 (shortened, OK)