Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CQSearch does not seem to work with special characters #97

Open
prakashsanker opened this issue May 8, 2023 · 1 comment
Open

CQSearch does not seem to work with special characters #97

prakashsanker opened this issue May 8, 2023 · 1 comment

Comments

@prakashsanker
Copy link

I'm working on a java codebase. If I run

cqsearch -s myproject.db -t '*Mapping(' -f -u

this returns nothing.

If I run

cqsearch -s myproject.db -t '*Mapping' -f -u

it works.

How do I look for special characters?

Thanks!

@ruben2020
Copy link
Owner

Hi @prakashsanker ,
Brackets are not part of the symbol, so it cannot be searched by symbol search. The codequery GUI can search this by grep. But the cqsearch CLI currently doesn't support grep. It could potentially be a feature to add. But of course, you can use grep in the command line directly in Linux. You don't need cqsearch for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants