Max Dyckhoff wrote:

As I understand it, the \< and \> tokens represent the beginning and end
of a word. This means that the character immediately after the \< token
must be a word character, namely letters, numbers, and underscore (as
defined by the iskeyword option).

Max

...snip: At some points in my code I had a variable that was a pointer
that
was denoted (in C) by:

*iterNum

I wanted to replace instances of exactly this string globally between
my
present position and line 791, with:

j

So try

 :791,.s/\*iterNum\>/j/g

(or :.,791s/...  depending on what your current line is rltv to 791)

Regards,
Chip Campbell

Reply via email to