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 86922 - Regular expression search in "Find in Projects" can't find matches for an RE which has matches in a normal "Find"
Summary: Regular expression search in "Find in Projects" can't find matches for an RE ...
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 11:02 UTC by edwardsamson
Modified: 2007-05-16 12:49 UTC (History)
0 users

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 edwardsamson 2006-10-11 11:02:58 UTC
I wanted to easily locate all setter methods for String members in my project.
So I used the following RE to find them:

public void set([a-zA-Z0-9]*)\(String ([a-zA-Z0-9]*)\) \{\s*(this\.[a-zA-Z0-9]*
= [a-zA-Z0-9]*;)\s*\}

the idea was to match methods of the form:

public void setXXX(String xxx) {
    this.xxx = xxx;
}

Using a regular Find (Ctrl+F), the RE above matches the desired methods just
fine. But if I used Find in Projects (Ctrl+Shift+P), no matches are found.

Sorry I haven't had time to narrow the problem down, but this is the actual
example I'm working on.
Comment 1 Vitezslav Stejskal 2006-12-10 23:25:28 UTC
I am not sure who implements Ctrl-Shift-P action. Please reassign if the defect
is not in projects. The problem is reproducible in the main trunk.
Comment 2 Marian Petras 2007-01-15 15:47:30 UTC
If you can reproduce it, could you please send me some simple project on which
you reproduce it? I would also appreciete information about your system (OS and
its version, JDK version, NetBeans version).
Comment 3 Peter Pis 2007-05-16 12:49:18 UTC
No additional information has been attached for long time. Closing as "INVALID".
In case you'd encounter this problem, please feel free to reopen the issue.