I'm also still a learner, but as far as I understand, you use 'öreg' for people and 'régi' in other cases, more or less. I have been told that 'öreg barát' is a friend that is old, and 'régi barát' is an old friend (as in: the friendship is from way back).