version match pattern 'x.x.x'