Introducing path matching for exclusion patterns