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

Search support for special characters (+, (, ...) #1

Open
SebastianLng opened this issue Feb 19, 2021 · 0 comments
Open

Search support for special characters (+, (, ...) #1

SebastianLng opened this issue Feb 19, 2021 · 0 comments

Comments

@SebastianLng
Copy link
Member

Since matching of search values in the query done with regex matchers, special characters that can be interpreted as regex meta value do not work in searches.
This can be fixed by either not matching strings via regex function or using Pattern.quote on the search string:
https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)

Either way support by the library would be helpful.

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

1 participant