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 239278 - Pattern replacement
Summary: Pattern replacement
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 16:13 UTC by guiwp
Modified: 2014-01-15 17:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description guiwp 2013-12-09 16:13:28 UTC
Original text:

a, b, c, d;
a, b, c, d;

Modified text:

* a* ,*  * b* ,*  * c* ,*  * d* ;
* a, b, c, d;

Find What: ^(.)
Replace With: * $1

The replacement is done is the selected lines of the original text.

Is it a bug?
Comment 1 Milutin Kristofic 2014-01-15 17:31:26 UTC
In current netbeans 8.0 dev build
Product Version: NetBeans IDE Dev (Build 20140114-cbe4fbb16440)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18

It works well, the output is:
* a, b, c, d;
* a, b, c, d;

Probably it was fixed by bug #236172

You can try Netbeans 8.0 beta next week, if it is also resolved for you, or maybe there are something different in your scenario.