Exact antipattern

Is it possible to make sure an antipattern is about exact the same tokens as the pattern? I mean, in a way that matching ‘a b c’ is NOT blocked by antipattern ‘b c d’ because of the overlap in ‘b c’ ?