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

            Bug ID: 165930
           Summary: F&R dialog accepts search patterns with text after $,
                    should fail informatively
           Product: LibreOffice
           Version: 25.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

At the moment, LO's regex capability does not include matching patterns across
multiple paragraphs. Also, the $ character matches the end of a paragraph (not
a line break or a line ending through wrapping).

Now, if in my document I have some text, then a paragraph break, then some more
text, and I try a regex search with the pattern:

\.$\.

I expect to be told "Patterns with text beyond an end-of-paragraph marker $ are
invalid." or "are not supported" etc.

Instead, I am told "Search key not found" - which suggests such patterns _are_
valid, and _might_ be matched, but the text doesn't have them.

Now, I would love it if support for past-end-of-paragraph were implemented, but
while that's not happened - the user should be told that they can't do that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to