Clean up version regexp