in reply to Re: Re: Regex Question
in thread Regex Question

That is fixable though with a lookahead:
s/([^\n])\n(?!\n)/$1/g;
Or the probably faster lookbehind:
s/(?<!\n)\n([^\n])/$1/g;

UPDATE
chipmunk noticed a typo. I had not closed the second match. Oops.