thinking it through - the annoying section structure is ABABA where A is the expression, B is the line feed stuff.
so if I find (AB){2} and replace with nothing, I should end up with one instance only of expression A.
I already fixed up the text using your long hand version though so I cannot easily test that now.
|