'Regex to find the commented Code in XCode
I am trying to make a regex that will find all the commented code in Xcode project. Note that result of Regex must only contain commented code and must not contain the comments that we add to make the project more understandable.
Result of regex searching not contain the line like below
// this comment is added to make the function understandable
But contain the lines like
// [super viewWillDisappear:animated];
Solution 1:[1]
To anyone wondering how to use regular expression search "^./[/,*].;.*$" after selecting regular expression option from find menu after doing global search(command + shift + F)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jayant rawat |

