help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Infinite Multiline replacement problem


From: Kevin Rodgers
Subject: Re: Infinite Multiline replacement problem
Date: Mon, 28 Jun 2004 14:04:57 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Ding Lei wrote:
>   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" string before the line "*/". But emacs always
> replaces the first occurrence, and the result is that numerous
> "address@hidden" string is inserted until *deadlock*.

It works for me in Emacs 21.3.  What version are you using?

--
Kevin Rodgers






reply via email to

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