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

            Bug ID: 105109
           Summary: Search and Replace does not find empty paragraphs in
                    textfile with CRLF line endings
           Product: LibreOffice
           Version: 5.2.3.2 rc
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Search and Replace does not find empty paragraphs in textfile with CRLF line
endings. Works okay when creating new file and when opening file with only CR
endings.

Steps to Reproduce:
1. Create new txt file on Linux like:

line one
<empy line, just hit Enter>
<empy line, just hit Enter>
line two

Likely it is going to have CR-only line endings.
2. Load it into Writer (File/Open or New Document->Insert->Document
3. Open Search and Replace (Ctrl-H), check regular expressions and search for
^$ (empty paragraph)
4. It works.
5. Close file, change it to have CR/LF line endings, for exaple with the
unix2dos command line tool.
6. Repeat steps 2-3.
7. Search phrase not found.

Tried with 5.2.3.2 Build: 1:5.2.3~rc2-0ubuntu1~xenial1 installed from 
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main

No idea if other regexps work.


Actual Results:  
Search and Replace does not find empty paragraphs.

Expected Results:
Search and Replace should find empty paragraphs.


Reproducible: Always

User Profile Reset: No, it was a fresh test install of Xubuntu 16.04

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to