diffplex icon indicating copy to clipboard operation
diffplex copied to clipboard

Customise skipping of lines

Open rudralahiri opened this issue 3 years ago • 2 comments

I am trying to compare 2 files and would like the Differ to skip lines when it matches a pattern defined in a list.

Say in a file, I want the Differ to ignore the line which contains the phrase "Updated Version" or "page no." Can you provide me with an example if its possible? Thanks

rudralahiri avatar Aug 10 '23 12:08 rudralahiri

You could just post-process the result if it is from a line with that phrase and ignore the diff result

mmanela avatar Sep 10 '23 20:09 mmanela

Thanks Mathew. Great idea. Will be trying this out.

rudralahiri avatar Sep 11 '23 05:09 rudralahiri