fix getversion script regexp