Hi!

I have the following problem: I'm programming in C language and I'd like
to substitute every occurence of "my_type" with "another_type". So I'd like
"my_type *mine;" to become "another_type *mine;" and so on, but NOT
"my_type_2 *mine;" to become "another_type_2 *mine;"! I've tried the following:

(query-replace-regexp "\\bmy_type\\b" "another_type" nil nil nil)

but the problem is that \b seems to include words terminating with '_'...
any idea?

Thanks!

Sent from the Emacs - Help forum at Nabble.com.