Simplified pattern matching API.