Community
Participate
Working Groups
Regex replace patterns should replace character patterns by their interpreted value. I.e. when searching for "\xE4" with replace pattern "\xF6", the replace pattern should also be interpreted (and thus insert ö at the place where an ä was found). The character patterns to be interpreted in the replace string are: \\, \0n, \0nn, \0mnn, \xhh, \uhhhh, \t, \n, \r, \f, \a, \e, \cx, and (if bug 80666 is implemented) \R. The interpreted character patterns should then also be added to the replace field's contant assistant.
Not for 3.1
It's not fixed, it's LATER.
.
Nice try he ;-)
This request generalizes bug 52338.
Created attachment 71358 [details] Fix Here's a fix with tests. It affects only the replace pattern. The patch also updates and fixes some of the find pattern content assist proposals and help. Moreover, it implements bug 51530.
Changing status to RESOLVABLE NOW.
*** Bug 57938 has been marked as a duplicate of this bug. ***
Created attachment 72953 [details] Combined fix for 44422, 80667, and 51530 Updated to head. Changes in FindNextAction.java & FindReplaceDialog.java are for bug 44422, rest for the other bugs.
Thanks Markus. I've committed the patch to HEAD with some minor changes (e.g. added missing @since tags). I also removed a break which I think was wrong (see FindReplaceDocumentAdapter.interpretCharacterEscapes) - please verify that this was the right thing to do. In addition, please refactor that long method. Available in builds > N20070715-0010.
The patch in bug 44766 reworked FindReplaceDocumentAdapter.interpretCharacterEscapes.