Fix the version extraction regex