This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It's not possible to carry out replacement operations when the replaced string is any kind of special character - specifically a newline or tab character. E.g. if you want to format an XML file <aaa><bbb><ccc> to <aaa> <bbb> <ccc> you have to leave Netbeans and use a normal editor like jEdit to do it. I believe this is a defect, not just an enhancement and ought to be corrected for version 6.0. Further, it ought to be possible to use any special character and even any Unicode character in the replace box.
Hallo! Is anyone there?
*** Issue 84730 has been marked as a duplicate of this issue. ***
*** Issue 26810 has been marked as a duplicate of this issue. ***
I'm sorry, but this won't be in for nb6 unless somebody volunteers to implement it.
Four duplicates and seven votes makes a P4?
Well, it probably does not.
*** Issue 115219 has been marked as a duplicate of this issue. ***
Should be fixed for 7.0.
Reproducible with 6.7 trunk (20090408). Workaround: Use "Replace in Projects" 1. Select a file in Project view 2. Invoke replace dialog by Ctrl+Shift+H 3. For this particular case enter ">" and ">\n" respectively, check "Regular Expression" and "Selection" And then is results hit 'Replace'
http://hg.netbeans.org/jet-main/rev/96d192cf3ee9 fixed, now editor handle special characters the same way as project (in replacement)
status update
Integrated into 'main-golden', will be available in build *200904230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/96d192cf3ee9 User: sergeyp@netbeans.org Log: fix #112353 - handle known special chanracters befor passing to matcher (matcher corrupt '\') by default, realization is the same as in org.netbeans.modules.search.BasicSearchCriteria::getReplaceString()