Adding range to compound matcher

This includes the docs and the code!