Charging a capacitor through a resistor

The loop rule gives the differential equation E minus q over C minus R dq over dt equals zero, whose solution rises towards C E as one minus e to the minus t over RC, so the capacitor starts like a wire and ends like a break.

From AP Physics C: Electricity and Magnetism.