better regexen on version