Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customise skipping of lines #110

Open
rudralahiri opened this issue Aug 10, 2023 · 2 comments
Open

Customise skipping of lines #110

rudralahiri opened this issue Aug 10, 2023 · 2 comments

Comments

@rudralahiri
Copy link

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

@mmanela
Copy link
Owner

mmanela commented Sep 10, 2023

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

@rudralahiri
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants