|
From: Colm D. <col...@gm...> - 2008-01-31 19:18:09
|
On Jan 31, 2008 7:09 PM, David Harrison <dav...@st...> wrote: > > Lines 27 & 28 of sarg/view.cgi do the dirty work and they are as > follows: > $data =~ s/^[\000-\377]*<BODY.*>//i; > $data =~ s/<\/BODY>[\000-\377]*$//i; If i understand the problem correctly, I think making the .* after the BODY non-greedy, by adding a question mark, will solve it, i.e. : $data =~ s/^[\000-\377]*<BODY.*?>//i; Colm |