regex fix and pythonic

# Fix a regex matching bug when svn author is an e-mail address
# Be pythonic!  iterator instead of C-style looped readline(), and string slicing instead of startswith method, and multple assignment in one statement, and use 'in' instead of 'in keys()', etc. 
# pep8-ize