Bug 284990 - Allow mixing R_PATTERN_MATCH and R_CAMELCASE_MATCH in SearchPattern
Summary: Allow mixing R_PATTERN_MATCH and R_CAMELCASE_MATCH in SearchPattern
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 283709
  Show dependency tree
 
Reported: 2009-07-29 06:42 EDT by Markus Keller CLA
Modified: 2009-07-29 06:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-07-29 06:42:48 EDT
I20090728-1414

Bug 283709 requests mixing of wildcards and camel case in the Open Type dialog. This bug is for the necessary support in SearchPattern:

To add camel case support to wildcards, org.eclipse.jdt.core.search.SearchPattern and references to it in the search engine would have to be updated. In particular, they would have to allow combining R_PATTERN_MATCH with R_CAMELCASE_MATCH. SearchPattern#validateMatchRule(String, int) would have to accept both rules iff the stringPattern contains a wildcard and at least one uppercase character, but must continue to return just R_PATTERN_MATCH if the string contains only lowercase characters, wildcards, and '.'.