KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm working with an inherited code base which contains thousands of lines of commented out code. I know the previous coder meant to save all his hard work for posterity rather than simply deleting it but: I will never read it and it just gets in the way. One problem example is that when I perform text searches for certain code segments I gets dozens of "false" hits in the commented code. PITA. Is there a quick/easy way to detect large blocks of commented out code? A clever RegEx perhaps? I happen to be working in VB.NET at this time and comment character is a single apostrophe.
Tags (comma-separated)
Save Edits
Cancel