Line Filter doesn't seem to work

Open discussion about WinMerge.

Line Filter doesn't seem to work

Postby DannyDan » Wed Sep 04, 2019 2:19 am

I'm having problems understanding Line Filters (or they are not working).

I'm using Version 2.16.4.0 x86

Here's what I have done:
1. ) Put a check in "Enable Line Filters"
2.) Added New Line Filter (and checked the box for it):
Code: Select all
^[^\n]*?(?:Get|Save|Delete)Setting(?:XML|DB|).*?$


Here is a line of text in one file:
Code: Select all
Me.Left = GetSetting(App.Title, "Settings", "DetlLeft", MainFrm.Left)


Here is a line of text in another file:
Code: Select all
Me.Left = GetSettingDB(App.Title, "Settings", "DetlLeft", MainFrm.Left)


I'm expecting these lines to be ignored because the regular expression matches both lines (well, it does when I use an online tool that is supposedly using PCRE).

Please let me know what I'm doing wrong, I need to merge some code changes, but I have over 2,000 lines like this that is making it hard to find changes that I actually need to pay attention to.
DannyDan
 
Posts: 3
Joined: Wed Sep 04, 2019 2:03 am

Return to Open Discussion

Who is online

Users browsing this forum: Bing [Bot] and 5 guests