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 244625 - Go to Type/Symbol: Camelcase pattern results in wrong match
Summary: Go to Type/Symbol: Camelcase pattern results in wrong match
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 11:48 UTC by markiewb
Modified: 2014-05-21 12:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (37.39 KB, image/png)
2014-05-21 11:48 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-05-21 11:48:01 UTC
Created attachment 147362 [details]
Shows the issue

* Go to type
* use pattern "*Ctx" (C is uppercase)

ACTUAL:
 matches "Ctx" 
 matches "FooCtx"
 matches "AbstractXml" <- that wrong should not be matched - see screenshot

EXPECTED:
 matches "Ctx" 
 matches "FooCtx"


Product Version: NetBeans IDE Dev (Build 201405060001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 Tomas Zezula 2014-05-21 12:00:53 UTC
"*Ctx" is not a Camel Case it's a regexp (.*Ctx.*).
The match depends on the Case Sensitive switch.