Bug 45151 - writer EDITING: Search and replace: patterns in Replace box aren't inserted, $n instead.
Summary: writer EDITING: Search and replace: patterns in Replace box aren't inserted, ...
Status: RESOLVED DUPLICATE of bug 39022
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 13:02 UTC by Arno Teigseth
Modified: 2012-01-26 13:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
good and wrong cases, image (118.98 KB, image/png)
2012-01-23 13:02 UTC, Arno Teigseth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arno Teigseth 2012-01-23 13:02:20 UTC
Created attachment 56054 [details]
good and wrong cases, image

write "abc." in the document

open search-replace, check for regular expressions.

Search for: (a)bc\>
Replace with: $1bc

Expected: Replaced with abc
Actual result: $1bc


In my couple of tests, this is reproducible with using either \< or \> for word-end-detection.

If searching for (a)bc([.,;: ]) replacing with $1bc$2 then all works fine :D
Comment 1 tester8 2012-01-26 13:39:19 UTC

*** This bug has been marked as a duplicate of bug 39022 ***