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

Andreas Wagner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---
            Version|3.4.4 release               |Inherited From OOo

--- Comment #6 from Andreas Wagner <[email protected]> ---
Finally got round to see if the issue is solved in the meantime. But it isn't
(v 4.1.3.2).
Here is a new attempt, and a new description based on the hints in the current
bugtracker template:

If you do Search and Replace and want to re-use one of the matches in the
replace expressions, this fails if the match was a [:cntrl:] Control code.

Steps to reproduce:
1. Enter a text with footnotes: bla¹. bleh². foo.³
2. Open the Search and Replace dialog
3. Under further options, select "Use regular expressions"
4. In the "Search for" field, enter "([:cntrl:])(\.)" (without the quotes)
5. In the "Replace with" field enter "$2$1" (without the quotes)
6. Klick on "Replace all"


Expected behavior:
All footnote signs preceding periods are matched (no. 1 and 2); these are
replaced with first and second match inversed, i.e. period and footnote sign:
bla.¹ bleh.² foo.³


Current behavior:
The matching works fine, but the $1 seems to be empty. The resulting text is:
bla. bleh. foo.¹

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