Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

eclipse search

Posted on 2014-02-12
10
Medium Priority
?
293 Views
Last Modified: 2014-02-13
Hi,

My test.xhtml page has label as --->  Customer ID ***



I searched on eclipse workspace using same string which is --->Customer ID ***

by removing and enabling case sensitive/regular expression with *.* as file type. Some reason it is not able to search properly to narrow down to exact  search string  I want
 which is --->Customer ID ***

How to fix this issue. Please advise

 Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 14

Accepted Solution

by:
CPColin earned 1000 total points
ID: 39853950
According to the search dialog that Eclipse displays, * is a wildcard, so you have to add backslashes to escape those characters: Customer ID \*\*\*
0
 
LVL 7

Author Comment

by:gudii9
ID: 39854011
Customer ID \*\*\*
I tried. It did not work.

After ID there is blank space before ***

Do Ineed to care for that.

Do i need to enable the Regular expression. Can you please send the screenshot if possible.
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39854022
Leave the "Regular Expression" option turned off. Enter the exact text you want to search for, including any spaces, but put a backslash before each asterisk.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Author Comment

by:gudii9
ID: 39854158
Customer ID \*\*\*
I tried. It did not work.
In the UI it shows as --->Customer ID \*\*\*
with space before ID

when i copy paste to eclipse or notepad I see that sapce somehow is disappearing. Not sure why? please advise
0
 
LVL 7

Author Comment

by:gudii9
ID: 39854168
Can I restrict eclipse search to complete word like

If I search on 'aaaa' i want to see results relating to aaaa only not aaaab, aaaacc etc. please advise
0
 
LVL 14

Expert Comment

by:CPColin
ID: 39854173
The search dialog, specifically, the "File Search" tab of it, has a "Whole word" checkbox.

You're just going to have to tinker with it until it works. Try starting with just "Customer ID" and see if that returns results. Then try "Customer ID \*" or "ID \*\*\*" or something. Experiment. Investigate. With a piece of software as complex as Eclipse, it's the only real way to learn.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39854445
when i search on Customer ID then it is working fine.

When i search on  "Customer ID \*" then it does not work.
0
 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 500 total points
ID: 39854455
With the regular expression option turned on, searching for:
Customer ID \*
may work. If you like, you could also try this (with the regular expression option turned on):
Customer ID [*]
0
 
LVL 9

Assisted Solution

by:Derek Jensen
Derek Jensen earned 500 total points
ID: 39855093
Or
Customer ID [*]+
or
Customer ID [*]{3}
or
Customer ID [*][*][*]

again w/Regex opt. turned on.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39857048
it worked Customer ID \*
by keeping Regex opt. turned on
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question