Reputation: 141
I have many files containing following types of line -
* @version $Revision: 1.xxx
I want this type of line to be ignored while comparing using winmerge. I have tried with line filters. But, till not able to do that. Can any one help me in this regard?
Upvotes: 7
Views: 17183
Reputation: 29977
You can actually do this with line filters.
In your particular case, you'll want to find a regex pattern that matches your naming convention, but something like this should work:
Upvotes: 10
Reputation: 141
After many tries the following regular expression is working for me -
^ \* @version \$Revision:
Upvotes: 3
Reputation: 626926
Check the WinMerge release notes:
Filters only applied when using full compare.
Line filtering is only applied in folder compare when using Full Contents-compare method.
If you are using any other compare method, line filters are not applied. Files marked different in folder compare can get status changed to identical when opening them to file compare.
So, you will not be able to use regex to filter out the lines that are open in right/left pane.
You will have to install and use 3rd party filters, e.g. http://regexfilterforw.sourceforge.net/.
Upvotes: 1