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

          Priority: medium
            Bug ID: 70629
          Assignee: [email protected]
           Summary: Searching with regular expressions doesn't give
                    expected result
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.1.1.2 release
         Component: Writer
           Product: LibreOffice

When I make a search using regular expressions, like the following:

\{06(>|)(1|2|3|4|)(: |)([:alpha:]|[:space:]|_|)+\}.+\{(/|)06(>|)(1|2|3|4|)(:
|)([:alpha:]|[:space:]|_|)+\}

in the following text:

{01>1}{02>1>2}Nam liber{06>3} tempor cum soluta nobis eleifend{/06>3} option
congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit,{05>1} sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim
ad minim veniam, quis nostrud {06>3}exerci tation ullamcorper suscipit lobortis
nisl {/06>3}ut aliquip ex{/05>1: Duis autem vel eum iriure dolor in hendrerit
in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla
facilisis} ea commodo consequat.  {/02>1>2} {/01>1}

The highlighted result is not as expected from the first occurence (opening
tag) to the following second (closing tag) but rather from the first occurence
to the last of that paragraph.

Is there a possibility to change that?

-> See also Bug 70627 "LibreOffice-Writer crashes entering a complicated search
string in find&replace dialogue" where I tried to do a workaround which leads
to a crash.

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