https://bugs.freedesktop.org/show_bug.cgi?id=45151

             Bug #: 45151
           Summary: writer EDITING: Search and replace: patterns in
                    Replace box aren't inserted, $n instead.
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 56054
  --> https://bugs.freedesktop.org/attachment.cgi?id=56054
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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to