in reply to Regex negative number question

Thanks for the feedback and suggestions, everyone. To answer a couple of the questions asked by some:

zby: True, I wouldn't want to match "-. o".
Cody Pendant: That's what the teacher gave us. You're right: it doesn't seem to have a purpose in this context.