[Libreoffice-bugs] [Bug 111646] New: F&R: Trying to replace text found with Regular Expression using zero-length-assertions $1 and respective is wrongly taken for literal

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 10 16:03:39 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111646

            Bug ID: 111646
           Summary: F&R: Trying to replace text found with Regular
                    Expression using zero-length-assertions $1 and
                    respective is wrongly taken for literal
           Product: LibreOffice
           Version: 5.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jag at psilosoph.de

Created attachment 135421
  --> https://bugs.documentfoundation.org/attachment.cgi?id=135421&action=edit
The example mentioned in the original bug report

Searching for text using zero-length-assertions both sides and trying to
replace then using $1 and so on as implicit variablles for found groups results
in different errors under certain conditions. 
-1- 'Find Next' and subsequent 'Replace': No action.
-2- 'Replac All': The group variables are wrongly inserted as literals.

SAME replacements in Calc are done as expeczed.
Steps to reproduce: Too many, to difficult (for me) to describe unambiguously.

See attached example.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170810/14abf72f/attachment-0001.html>


More information about the Libreoffice-bugs mailing list