You can't drive anything more than 40mA directly using any digital/analog pins, excessive current draw will likely damage your chip.
Maybe he means the output from the regulator?
Even so, this is really not something that should be done; it is likely that the motor could draw enough current to cause the Arduino to reset or possibly damage the regulator. The motor should be powered separately with its own power supply (just remember to tie its ground together with the Arduino's ground).
![]()