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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/sdk/ |https://invent.kde.org/sdk/
                   |lokalize/-/commit/10d5bfcf8 |lokalize/-/commit/3015496e5
                   |9cf018429f69a45b8cbe168fa1f |48d7eb36a2eece6bbff2bb11c18
                   |f678                        |0c74

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

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
(cherry picked from commit 10d5bfcf89cf018429f69a45b8cbe168fa1ff678)

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/3015496e548d7eb36a2eece6bbff2bb11c180c74

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

Reply via email to