change version regexp to support non-json file version bump