Pattern directive to skip nested pattern matching