move version test here
change regex declaration