Also note that i've used the latest number so it was visible how the fullversion is constructed. If you would want to 'exclude' all 1.8 release candidates as well use a zero at the end.
Whatever you decide falls into the 1.8 category, is up to yourself
For possible operators see
here, as you original question was 1.8 and greater.