[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite Multiline replacement problem

From: Ding Lei
Subject: Infinite Multiline replacement problem
Date: Sun, 27 Jun 2004 15:17:13 +0800
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Hello list,
  I tried to use regexp replace to do a multiline replacement, but
Emacs replaces one occurrence again and again (infinite) ...
Here's the regexp I use,
Replace: \*/[Ctrl-q][Ctrl-j]public void final
With: address@hidden/[Ctrl-q][Ctrl-j]public void final

As you could see, what I want to do is insert an additional "@ejb.persistence" 
before the line "*/". But emacs always replaces the first occurrence,
and the result is that numerous "address@hidden" string is inserted
until *deadlock*.

Thank you.


   <<<:::::   D i n g    L e i   ::::::>>
 ||                                      ||
 || Ext: 8106                            ||
 || Email: <dinglei [A] ipanel [O] cn>   ||
 || Dept. Of Technology/Engineering      ||
 || Embedded Internet Solutions Inc.     ||
 ||                                      ||
<((((((    =====================     )))))>>>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]