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 - Find in Projects' regular expression dialog shows invalid proposals
Summary: Find in Projects' regular expression dialog shows invalid proposals
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2014-12-28 23:31 UTC by ramis
Modified: 2015-01-26 12:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Dialog with invalid proposals (41.19 KB, image/png)
2014-12-28 23:31 UTC, ramis

Note You need to log in before you can comment on or make changes to this bug.
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,...