searching
Posted: Wed Nov 07, 2012 7:01 pm
Is there a simple way to search for a string in the source code, when I only want to find the string as a whole word.
ie if I have a variable named "variable" and another named "variable1", I want to search / replace "variable" while leaving "variable1" unchanged.
the only way I can see is to use regular expressions and search for "/svariable/s".
I often want to find all occurences of "variable", replace them with "new_variable" without changing "variable1".
Is there an easy way to do this.
If you are familiar with CodeWright, it is searching with the "whole word" box selected.
ie if I have a variable named "variable" and another named "variable1", I want to search / replace "variable" while leaving "variable1" unchanged.
the only way I can see is to use regular expressions and search for "/svariable/s".
I often want to find all occurences of "variable", replace them with "new_variable" without changing "variable1".
Is there an easy way to do this.
If you are familiar with CodeWright, it is searching with the "whole word" box selected.