Community
Participate
Working Groups
Text Search dialog should have a "Whole Word" check box like the find replace dialog. NOTES:
PRODUCT VERSION: Build 135
Agreed, that this would be useful. Search is is using the StringMatcher and it should provide this option. It currently only supports ignoreCase and ignoreWildcards. Once the string matcher supports this, it is trival to surface this in text search. Nick, what is your opinion on adding this support to StringMatcher.
StringMatcher should be taken out and shot <g>, but we can't do this until we're on JDK 1.4. For now it's the right place to make this change. If search wants to add it to their copy of StringMatcher, we can apply it to the others.
we do not have the cycles to do StringMatcher tweaking, so we are also waiting for 1.4.
reopen to close
.
there's now regEx support (use \bWORD\b)
Had to revert the changes in Search plug-in 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.
*** Bug 19413 has been marked as a duplicate of this bug. ***
The backed out code is tagged with "dm_RegEx_Support"
Can we utilize the Regular Expression library provided by Apache? http://jakarta.apache.org/regexp/index.html Also if we do enable regular expressions in the searches, perhaps a button should be provided (if one is not there yet) that would bring up a help or cheat sheet for regular expressions and providing some common examples of "Whole word" matching.
>Can we utilize the Regular Expression library provided by Apache? Since 3.0 will be 1.4 based we will use the standard RegEx package which covers the needs for this and other regex related PRs. As you can see in comment 7 the code which does whole word searching is already in the repository but is on hold until the 3.0 stream sits on 1.4.x. >Also if we do enable regular expressions in the searches, perhaps a button >should be provided (if one is not there yet) that would bring up a help or >cheat sheet for regular expressions and providing some common examples >of "Whole word" matching. This information will be available via F1/Help.
Available since I20030916. The Regex Search feature request is not closed yet because we look into adding content assist like support for regular expressions.