[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: *@ejb.persistence[Ctrl-q][Ctrl-j]*/[Ctrl-q][Ctrl-j]public void final
As you could see, what I want to do is insert an additional "@ejb.persistence"
string
before the line "*/". But emacs always replaces the first occurrence,
and the result is that numerous "*@ejb.persistence" string is inserted
until *deadlock*.
Thank you.
--
Yours,
<<<::::: D i n g L e i ::::::>>
|| ||
|| Ext: 8106 ||
|| Email: <dinglei [A] ipanel [O] cn> ||
|| Dept. Of Technology/Engineering ||
|| Embedded Internet Solutions Inc. ||
|| ||
<(((((( ===================== )))))>>>
- Infinite Multiline replacement problem,
Ding Lei <=