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

Ag search broken #487

Closed
LouisKottmann opened this issue Feb 17, 2014 · 1 comment
Closed

Ag search broken #487

LouisKottmann opened this issue Feb 17, 2014 · 1 comment

Comments

@LouisKottmann
Copy link

An example is worth a thousand words so here goes:

Make a project with this test string:

global.extendAllProperties.apply(null, mixins);

Try to projectile-ag search for it -> no results

The command issued is:

ag --color --color-match 30\;43 --smart-case --nogroup --column -- global.extendAllProperties.apply\(null\,\ mixins\)\; .

If you quote the search string, you get the expected result:

ag --color --color-match 30\;43 --smart-case --nogroup --column -- "global.extendAllProperties.apply\(null\,\ mixins\)\;" .

EDIT: adding the option --literal to ag-arguments solves the problem but disables regexes

@bbatsov
Copy link
Owner

bbatsov commented Feb 18, 2014

You should report this in Projectile's issue tracker https://github.com/bbatsov/projectile

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