| Summary: | Regular expression search | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Steven Buroff <sburoff> |
| Component: | Search | Assignee: | Platform-Search-Inbox <platform-search-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eclipse.5.ulib, jed, karl-heinz.damm, nikolaymetchev, quartz12h, tlroche |
| Version: | 2.1 | ||
| Target Milestone: | 3.0 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Steven Buroff
>This shouldn't be too hard now that Java incorporates a regular >expression package. The Eclipse Plan for 2.1 requires to be 1.3.1 compatible. 1.3.1 which does not offer a regex package. *** This bug has been marked as a duplicate of 14277 *** Had to revert the changes until 1.4 is available on all platforms. From the eclipse-dev mailing list: >Please continue to use only J2SE 1.3 APIs in the main Eclipse development >stream. > >As indicated in the draft 2.2 plan, Eclipse mainline development will be >based on the current version of J2SE, namely 1.4. However, for some of the >operating environments we still need to identify suitable reference J2SE >1.4 implementations to use for development and testing. We won't make the >leap until we've completed these investigations. Please refrain from using >J2SE 1.4-specific APIs in this stream. The backed out code is tagged with "dm_RegEx_Support" Until you have "real" regexp searching, please improve search in one small way: fix '*' handling. In most regexp schema (of which I'm aware--YMMV), '*' == 0 or more characters. Yet in an Java search of my workspace, "getPackageFragment(*)" fails while "getPackageFragment()" succeeds. This is very annoying. IMHO, if you want to signify 1 or more characters, you should use '+'. (Feel free to add :-) Isn't this a duplicate of 14277? No. This one is for the File Search page and bug 14277 is for the Find/Replace functionality in editors. Eclipse is now building and running against 1.4.x and RegEx is now available in the File Search page. The PR is kept open since we are still investigating on how to best offer assistance for entering regular expressions (besides F1). Currently the preferred way is offer content assist as in the Java editor. Please note that RegEx for Java Search isn't possible until Jdt Core implements bug 36897. *** Bug 22711 has been marked as a duplicate of this bug. *** Added F1 help for I20031007. Content assist is currently provided by Find/Replace dialog. Once Platform-Text offers this as API we will enhance the File search page as well (see new bug 44280). *** Bug 44313 has been marked as a duplicate of this bug. *** |