-
Notifications
You must be signed in to change notification settings - Fork 798
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
Incorrect work of substitution filters #2335
Comments
Unfortunately, the current WinMerge has a weakness in processing files that do not have a newline character at the end of the file, like the one you attached. |
Thank for prompt reply. Will this weakness be fixed it future releases? |
If it were to be fixed, it would be a relatively large fix and would not be released immediately. |
I'm trying to compare 2 XML files with ignoring XML comments. To do this I've created substitution filter by using regular expressions:
^<!--[\s\S]*-->$
If XML comments are in both files it works OK, but when XML comment absent in of the file, WinMerge consider them as unequal. Files to compare and screenshot are attached.
winmergebug.zip
WinMerge version: 2.16.40.0 X 64
Config file:
WinMerge.txt
The text was updated successfully, but these errors were encountered: