fix version regex