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

          Priority: medium
            Bug ID: 65038
          Assignee: [email protected]
           Summary: EDITING: Search&Replace doesn't replace regular
                    expression with Lookahead
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.3.3 release
         Component: Writer
           Product: LibreOffice

Problem description: 
The Search&Replace feature does not properly support regular expressions with
lookaheads. It is able to find matches that conform with the lookahead, but
pressing the replace button does nothing.

Steps to reproduce:
1. You have a text that contains certain combinations of characters, for
example AB, and you want to change the formatting of A only if it occurs in
front of B.
2. Click Edit → Search & Replace
3. Enter into "Search for": A(?=B)
4. Enter into "Replace by": A
5. While "Replace is focussed, click "Format" and select superscript.
5. Click "Search" and it does find results.
6. Click "Replace".

Current behavior:
The text stays unchanged.

Expected behavior:
The matches (A) should be replaced so that they are formatted in superscript.


Operating System: Ubuntu
Version: 4.0.3.3 release

-- 
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