regex should go through line endings
newlines processing munges newlines