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

            Bug ID: 167871
           Summary: RegEx search and replace inserts literal $1 instead of
                    match
           Product: LibreOffice
           Version: 24.2.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I have a text like
…Dann müssen wir "an­täuschen", dass der…

I use a regex search/replace to change "an­täuschen" into „antäuschen“ like so:

Find: \b"([:alpha:]+)"\b
Replace: „$1“

The replacement yields

…Dann müssen wir „$1“, dass der…

the word also has a conditional hyphen between n and t.
Regex is enabled, as is diacritic-sensitive.

Steps to Reproduce:
1. write text like in description
2. enter search and replace pattern, check regex and diacritic
3. find next, replace

Actual Results:
replacement is „$1“

Expected Results:
„antäuschen“


Reproducible: Always


User Profile Reset: No

Additional Info:
will try latest version, too

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

Reply via email to