Meld Line Breaks

Hi! I’m using Meld and trying to ignore line breaks during file comparison.

I already have PreferencesText FiltersAll whitespace enabled. I also tried a few custom filters but none of them worked

goal is to treat a one-line and a multi-line block as equivalent

image_2025-09-10_220835974

image

Is there a Python regex pattern I can add in Meld’s Text Filters that actually catches/removes line breaks so these compare equal?

No, there isn’t. Meld’s text filters don’t support removing line breaks for annoying technical reasons. The “trim blank line differences” option on the same preference page will work around that limitation for some use cases, but it won’t do anything for either of the examples you’ve provided.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.