modify version check regular expression