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

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

Re: Replace whole words?


From: Johan Bockgård
Subject: Re: Replace whole words?
Date: Sun, 31 Aug 2003 03:43:43 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v)

dum dee dee dum <address@hidden> writes:

> I have written a fairly long program, but I now want to find and
> replace all the 'int' s in the program to double as easily as
> possible. But I don't want the other words, variable names, etc. in
> the program that have 'int' in them (internationalization, for
> example) to change. Any ideas? M-% is an option

C-u M-%

    [...]
    Third arg DELIMITED (prefix arg if interactive), if non-nil, means
    replace only matches surrounded by word boundaries.

-- 
Johan Bockgård


reply via email to

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