make the changeline parsing more robust
Merge pull request #5 from lsmith77/fix_changeline_parsing

make the changeline parsing more robust