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

Fix BCQL escape issues #514

Closed
wants to merge 3 commits into from
Closed

Fix BCQL escape issues #514

wants to merge 3 commits into from

Conversation

jan-niestadt
Copy link
Member

@jan-niestadt jan-niestadt commented Apr 17, 2024

As a result of some refactoring, how escape characters worked in BCQL changed. It was also probably never completely correct.

Now it should work properly, i.e. single \ escaping should just work (although there may be additional edge cases, depending on the specifics of how Lucene's regex engine handles escaping).

So these should all work properly:

  • "\"" (find a double quote)
  • "\\" (find a backslash)
  • "\." (find a period)
    etc.

@jan-niestadt
Copy link
Member Author

Fixed, merged manually (c67789d).

@jan-niestadt jan-niestadt deleted the fix/bcql-escape-issues branch April 18, 2024 14:22
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

Successfully merging this pull request may close these issues.

None yet

1 participant