Fix regex for version