fix regex for version comparing