Issue #277: version pattern matching parsing