We already have a `just_added_newline`.  What happens if you check that before line 1497 instead of after?   I'd really prefer not to be regex-ing if we don't have to.