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.

Bug 84730 - Enable Escape Sequences in Replace Field (Search&Replace)
Summary: Enable Escape Sequences in Replace Field (Search&Replace)
Status: RESOLVED DUPLICATE of bug 112353
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords:
: 110330 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-12 20:02 UTC by _ rkusterer
Modified: 2007-11-05 13:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkusterer 2006-09-12 20:02:06 UTC
In the Search and Replace window (ctrl-H), it is possible to use \n \t etc in
the Search field (great!), but why not in the Replace field? 

It is very complicated to replace something with an additional newline. Roman
showed me the trick to capture the newline in the Search field with round
brackets, and then insert it into the Replace field with $1... 
http://blogs.sun.com/roumen/entry/another_regexp_trick_in_netbeans
Good workaround, but neither userfriendly nor straightforward.
Comment 1 Jiri Prox 2007-07-20 09:33:11 UTC
*** Issue 110330 has been marked as a duplicate of this issue. ***
Comment 2 Vitezslav Stejskal 2007-09-05 17:10:29 UTC

*** This issue has been marked as a duplicate of 112353 ***