Use a negative lookbehind to see if line ends with \ or , instead of matching last character