Updated regex to be more flexable with version strings