Reputation: 5333
I would like to ignore difference in lines, if one of the files has a line ending with //ignore is this possible? how would the regular expression for the line filter be written?
tried .*//ignore$ but this does not work
Upvotes: 5
Views: 20585
Reputation: 129
I found line filters to be very lacking. I developed regular expressions filter yesterday using Boost Regex library.
I feel it does the job.
https://sourceforge.net/projects/regexfilterforw/files/
Feel free to try.
Upvotes: 0
Reputation: 26
When you launch a file compare from the Select Files or Folders dialog, after choosing the Left and Right files, click Select next to the Filter field.
In the Filters dialog, click the Linefilters tab, create the following line filter (add)
^//ignore
Enable the line filters you want to use and run your comparison.
Have fun!
Upvotes: 1