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

Volker Krause <vkra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/sdk/ |https://invent.kde.org/sdk/
                   |lokalize/-/commit/4aac9757c |lokalize/-/commit/6f62af9f3
                   |59109dd9953faf68c891ba53c08 |243e97b8adf65eb9ceb5f03ab2c
                   |d2d7                        |91fc

--- Comment #3 from Volker Krause <vkra...@kde.org> ---
Git commit 6f62af9f3243e97b8adf65eb9ceb5f03ab2c91fc by Volker Krause.
Committed on 22/07/2024 at 16:19.
Pushed by vkrause into branch 'release/24.08'.

Add option QRegularExpression::UnanchoredWildcardConversion to addPart and
delPart diff regexes

They need to find unanchored matches i.e. matches beginning after, not just
beginning at, the offset int given to delPart.match() and addPart.match().
This generates match percentages identical to prior to
341525d9f6e370f34e9efe0836fd24609488c61a when the bug was introduced where
regexes almost never matched anything and so match percentages were always very
high.


(cherry picked from commit 4aac9757c59109dd9953faf68c891ba53c08d2d7)

7191eaf0 Add option QRegularExpression::UnanchoredWildcardConversion to addPart
and delPart diff regexes

Co-authored-by: Finley Watson <fi...@tutanota.com>

M  +2    -2    src/tm/jobs.cpp

https://invent.kde.org/sdk/lokalize/-/commit/6f62af9f3243e97b8adf65eb9ceb5f03ab2c91fc

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

Reply via email to