I want to find all expression variable = variable; in my source files. I use Visual Studio 2008.
The variable is any variable, for example x, i, k123, incr15.
Samples:
x = x; // Should find
x = y; // No match
ss12 = ss12; // Should find
ss12 = ss12 + 1; // No match