all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Infinite Multiline replacement problem
@ 2004-06-27  7:17 Ding Lei
  2004-06-28 20:04 ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Ding Lei @ 2004-06-27  7:17 UTC (permalink / raw)


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.     ||
 ||                                      ||
<((((((    =====================     )))))>>>
	

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-06-29 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2315.1088539167.1953.help-gnu-emacs@gnu.org>
2004-06-29 20:15 ` Infinite Multiline replacement problem Kin Cho
2004-06-27  7:17 Ding Lei
2004-06-28 20:04 ` Kevin Rodgers
2004-06-29 10:05   ` Ding Lei
2004-06-29 18:39     ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.