https://bugs.kde.org/show_bug.cgi?id=490837

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |lokalize/-/commit/10d5bfcf8
                   |                            |9cf018429f69a45b8cbe168fa1f
                   |                            |f678

--- Comment #1 from Albert Astals Cid <aa...@kde.org> ---
Git commit 10d5bfcf89cf018429f69a45b8cbe168fa1ff678 by Albert Astals Cid, on
behalf of Volker Krause.
Committed on 30/07/2024 at 22:19.
Pushed by aacid into branch 'master'.

Fix porting regression in diff computation

This relied on a non-standard matching behavior of 0x08 (backspace) in
QRegExp apparently, which PCRE/QRegularExpression doesn't have. So
manually replicate that by adding that to the pattern.

Add a unit test based on the original bug report, which now produces the
same result before and after porting.

Also needs backporting to 24.08.

cc @huftis

M  +3    -0    autotests/CMakeLists.txt
A  +27   -0    autotests/difftest.cpp     [License: LGPL(v2.1+)]
M  +1    -1    src/common/diff.cpp

https://invent.kde.org/sdk/lokalize/-/commit/10d5bfcf89cf018429f69a45b8cbe168fa1ff678

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to