[#17] pattern matching filter