Exclude pattern rebased

This is #1651 rebased and with the feedback I left there addressed.
This feels a bit excessive to me, is there any reason why it isn't just two specs? I mean obviously duplication, but do you think that's better here? I think it's be easier to read if it was just two specs.