Hi all,
the problem is that we did not refresh search data for subsequent
searches, so the back references were always filled using the search
data of the first match. So, for RE ([0-9]{2})([0-9]{2}), replacement
$1.$2 and string "1200-1300", that would lead to the following sequence
of changes:
1. back refs 0-2, 2-4 -> "12", "00"; repl. "12.00"; new str. "12.00-1300"
2. back refs 0-2, 2-4 -> "12", ".0"; repl. "12..0"; new str. "12.00-12..0"
Commit ea1cd1a10cc2d2bbf4f82aeca689fe81a3b79856 fixes that.
D.
Context
- [REVIEW: 3-5] fdo#44861 make "Replace All" behave correctly with REs · David Tardon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.