modify regex for version recognition