Fixed some regex issues on line break cleanup.