Regex checking for h5stat version checking