--- Peng Yu <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have the following file segments. I want to concatenate all the
> lines with their next lines, except that it ends with "}}". I want to
> use the pattern "\(}}\)[EMAIL PROTECTED]". It seems not working.

[EMAIL PROTECTED] is the look-ahead assersion, you want the look-behind 
assertion which is
\@<!

So you could use "\(}}\)\@<!\n^" instead.

regards,
peter


                
____________________________________________________ 
On Yahoo!7 
Break a world record with Total Girl's World’s Largest Slumber Party 
http://www.totalgirl.com.au/slumberparty

Reply via email to