C
ChrisB
Hello:
A third party component (NUnit) being used by my c# code has undergone a
breaking change and, as a result, thousands of methods calls in my source
code need to be revised in the following way:
// General example of the desired revision
RevisedMethod(stringA, stringB) // prior to change
RevisedMethod(stringB, stringA) // after change
Basically, I need to switch *whatever* appears before the comma with
*whatever* appears after the comma. This change needs to take place in
literally thousands of places, and I was wondering if it is possible to
somehow accomplish the switch using the Visual Studio regex search and
replace feature. If so, what would the expression look like?
If this code revision is not possible with a regular expression, is there
perhaps a different developer tool that might accomplish the task? The
thought of manually completing this change is making my head spin!
Thanks!
Chris
A third party component (NUnit) being used by my c# code has undergone a
breaking change and, as a result, thousands of methods calls in my source
code need to be revised in the following way:
// General example of the desired revision
RevisedMethod(stringA, stringB) // prior to change
RevisedMethod(stringB, stringA) // after change
Basically, I need to switch *whatever* appears before the comma with
*whatever* appears after the comma. This change needs to take place in
literally thousands of places, and I was wondering if it is possible to
somehow accomplish the switch using the Visual Studio regex search and
replace feature. If so, what would the expression look like?
If this code revision is not possible with a regular expression, is there
perhaps a different developer tool that might accomplish the task? The
thought of manually completing this change is making my head spin!
Thanks!
Chris