Having spent a good few hours at this the time has come to ask for help!
I am trying to compare pairs of source files containing VB6 code and would like to pull out JUST the procedure headers that match in order to produce some documentation.
What I've tried to do so far is to make a 'Replacement' on one side of any line that does NOT include 'Sub', 'Property' or 'Function' with some random text to force a mismatch on any line that isn't a procedure header and then filter with the 'Show Same' button to copy and paste the results. However, the slight flaw in my plan is that I have not been able to find a way of identifying such lines!
Can anybody tell me how to construct a regular expression that identifies lines that do NOT contain the above mentioned keywords?
Or am I just going about it in completely the wrong way?
Thank you in advance for your help.
I am trying to compare pairs of source files containing VB6 code and would like to pull out JUST the procedure headers that match in order to produce some documentation.
What I've tried to do so far is to make a 'Replacement' on one side of any line that does NOT include 'Sub', 'Property' or 'Function' with some random text to force a mismatch on any line that isn't a procedure header and then filter with the 'Show Same' button to copy and paste the results. However, the slight flaw in my plan is that I have not been able to find a way of identifying such lines!
Can anybody tell me how to construct a regular expression that identifies lines that do NOT contain the above mentioned keywords?
Or am I just going about it in completely the wrong way?
Thank you in advance for your help.
Comment