Add regulated 5v input pin to homemade arduino uno

So all i need to do is putting a diode between the 5v rail and the output pin on the regulator. Than i can just connect the regulated 5v directly to the 5v rail...

Thanks for the responses.