Eclipse IDE - search for whole words only [message #317477] |
Wed, 04 July 2007 09:57  |
Eclipse User |
|
|
|
Originally posted by: f.leh294.chat4world.com
Hi newsgroup,
I wonder whether it's possible in the Eclipse IDE to search for whole words only.
E.g., when I am searching for 'File' then I don't want 'FileStream' and the like
in the search result. None of the search functions seems to offer this feature.
Thanks to all who want to help.
Regards,
Frank
|
|
|
|
Re: Eclipse IDE - search for whole words only [message #317491 is a reply to message #317483] |
Thu, 05 July 2007 02:46  |
Eclipse User |
|
|
|
Originally posted by: f.leh294.chat4world.com
Hi Daniel,
Thanks for the reference to regular expressions.
To search for whole words, it's \bword\b and it works perfectly.
Regards,
Frank
"Daniel Megert" <daniel_megert@ch.ibm.com> schrieb im Newsbeitrag
news:f6gfog$i6e$1@build.eclipse.org...
> Frank Lehmann wrote:
>
> >Hi newsgroup,
> >
> >I wonder whether it's possible in the Eclipse IDE to search for whole words only.
> >E.g., when I am searching for 'File' then I don't want 'FileStream' and the like
> >in the search result. None of the search functions seems to offer this feature.
> >
> >
> Simply use a regular expression. Use content assist if you don't know
> which detects word boundaries.
>
> Dani
>
> >Thanks to all who want to help.
> >
> >Regards,
> >Frank
|
|
|
Powered by
FUDForum. Page generated in 0.48960 seconds