in reply to Re: Re: Look ahead and join if the line begins with a +
in thread Look ahead and join if the line begins with a +

Cool, but does the interpolation cost much (for a large list)?

--
perl -pe "s/\b;([mnst])/'\1/mg"

  • Comment on Re: Re: Re: Look ahead and join if the line begins with a +

Replies are listed 'Best First'.
Re: Re: Re: Re: Look ahead and join if the line begins with a +
by petral (Curate) on Apr 11, 2002 at 19:18 UTC
    Good point.   {local $,="\n"; print @lines,"\n"}

      p