-
Notifications
You must be signed in to change notification settings - Fork 33
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
Possible to parse escaped quotes? #38
Comments
Hey @karangarg45, in the code example you did not correctly string escape the quotes. You use: |
@bripkens Thanks for the quick response. The string shared by you gives the correct output but now my output contains extra |
@karangarg45 Your output looks correct to me. The output string contains only the characters In "some \"random\"" === 'some "random"' |
The original lucene lib had an issue and a known limitation related to parse the escaped quotes.
thoward/lucene-query-parser.js#1
When i try to do the same in this library, i get some unexpected result(not an error though). Is it also a limitation with this parser too?
Codesandbox example for the same
https://codesandbox.io/s/busy-browser-kzykt?file=/src/index.js
The text was updated successfully, but these errors were encountered: