better line-splitting regex