more cases of parsing match patterns added. trailing if guard.