Bug 114548 - Invalid replace by Regular Expression
Summary: Invalid replace by Regular Expression
Status: RESOLVED DUPLICATE of bug 91033
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 22:24 UTC by ReinRaus
Modified: 2017-12-29 09:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of regex working fine (38.37 KB, image/png)
2017-12-26 12:10 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ReinRaus 2017-12-18 22:24:17 UTC
Description:
Replace by regular expressions with `$` does not replace the paragraph end character. This is an extremely atypical behavior when processing text with regular expressions.

Steps to Reproduce:
1. ctrl+H
2. by regex `$`
3. fail :(

Actual Results:  
does not replace the paragraph end character

Expected Results:
replace the paragraph end character


Reproducible: Always


User Profile Reset: Yes



Additional Info:
[Information automatically included from LibreOffice]
Locale: ru
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
Comment 1 Buovjaga 2017-12-26 12:10:40 UTC
Created attachment 138652 [details]
Screenshot of regex working fine

It works fine for me.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 3272525e6b47af30ea5d92571cd7a6214117d359
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on December 25th 2017
Comment 2 Aron Budea 2017-12-28 20:50:22 UTC
ReinRaus, can you give a specific example? Replacing paragraph end characters works for me as well.
Comment 3 ReinRaus 2017-12-29 09:28:49 UTC
(In reply to Aron Budea from comment #2)
> ReinRaus, can you give a specific example? Replacing paragraph end
> characters works for me as well.

Text:

    aaaa
    bbbb
    aaaa
    bbbb

Regex1

    $

Placeholder1

    X

Result1

    aaaaXbbbbXaaaaXbbbbX

Regex2

    a$

Placeholder2

    X

Result2

    aaaX
    bbbb
    aaaX
    bbbb
Comment 4 Buovjaga 2017-12-29 09:33:34 UTC

*** This bug has been marked as a duplicate of bug 91033 ***