Bug 39022 - find-replace->$1, not pattern
Summary: find-replace->$1, not pattern
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.4.1 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
Whiteboard: target:6.2.0
: 45151 (view as bug list)
Depends on:
Reported: 2011-07-06 23:29 UTC by gymka
Modified: 2019-12-07 18:44 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description gymka 2011-07-06 23:29:56 UTC
there is a text "test number1 testnot" in find and replace dialog i write: 
in "search for" T(est|other)\>
in "replace with" replaced$1
result: "replaced$1 number1 testnot"
BUT it should be "replacedTest number1 testnot"
tried different combinations(tried add \< to start, tried add more variables, etc) result is same
in 3.3.3 variant T(est\>|other\>) worked
in 3.3.2 not worked just like in newest version
Comment 1 gymka 2011-07-06 23:53:14 UTC
updated to libreoffice-3.4.1-2 from libreoffice-3.4.1-1 and everyhing work
Comment 2 tester8 2012-01-26 13:38:27 UTC
Reproduced again with 

LOdev 3.5.0rc1
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI

As described in Bug 45151
Comment 3 tester8 2012-01-26 13:39:19 UTC
*** Bug 45151 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Arnhold 2013-10-16 04:11:33 UTC
Works fine with:

Build ID: 40b2d7fde7e8d2d7bc5a449dc65df4d08a7dd38

And latest master.
Comment 5 Commit Notification 2018-10-11 16:31:03 UTC
Zdeněk Crhonek committed a patch related to this issue.
It has been pushed to "master":


uitest findReplace; tdf#116242; tdf#98417; tdf#39022

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 6 raal 2019-12-07 18:44:32 UTC
The test exist, set status to Verified.