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

Ending or starting query in ' character produces invalid syntax #21

Open
tommoor opened this issue Dec 4, 2022 · 3 comments
Open

Ending or starting query in ' character produces invalid syntax #21

tommoor opened this issue Dec 4, 2022 · 3 comments

Comments

@tommoor
Copy link

tommoor commented Dec 4, 2022

With the { singleQuoteReplacement: "&" } option the search term one' or 'one

…produces the invalid syntax:

one&

…I think the rule is too simplistic here?

@tommoor tommoor changed the title Ending query in ' character produces invalid syntax Ending or starting query in ' character produces invalid syntax Dec 4, 2022
@caub
Copy link
Owner

caub commented Dec 4, 2022

Would using the option added in #14 help here?

@tommoor
Copy link
Author

tommoor commented Dec 4, 2022

Sorry, edited the report – the issue is caused by that option.

@caub
Copy link
Owner

caub commented Dec 27, 2022

We added this singleQuoteReplacement option lately, and I added a comment about it that it should not be a reserved word

For example does it work for you to use a space ' ' or a a '+'?

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