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

"AND NOT" is mishandled #47

Open
elliotchance opened this issue Jul 13, 2021 · 1 comment
Open

"AND NOT" is mishandled #47

elliotchance opened this issue Jul 13, 2021 · 1 comment

Comments

@elliotchance
Copy link

An extra space between "AND NOT" will result in an incorrect AST:

Correct:

'datacenter:"dca1" AND NOT @reserved.collector.filename:"executor"'

Mangled:

'datacenter:"dca1" AND  NOT @reserved.collector.filename:"executor"'
@gajus
Copy link

gajus commented Nov 7, 2021

This is correctly handled in https://github.com/gajus/liqe

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