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 249549

Summary: Find in Projects' regular expression dialog shows invalid proposals
Product: utilities Reporter: ramis
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Dialog with invalid proposals

Description ramis 2014-12-28 23:31:22 UTC
Created attachment 151302 [details]
Dialog with invalid proposals

When opening "Edit / Find in Projects...",
checking the "File Path Regular Expression" checkbox
and clicking on the "test" link,
the file path pattern input dialog opens.
The pattern combobox shows the default file name pattern proposals in the form *.java, *.xml, etc.
None of these are valid regular expressions, thus selecting any of these and clicking apply results in an error message to be shown.

Since the previous dialog shows a reg exp example and the given examples are already covered by the non-reg exp search, proposals might be not necessary there.
Otherwise they should be \.java, \.xml,...