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

[Strings] LIKE raises an error when using an asterisk in the query text #149

Closed
ohaibbq opened this issue Jan 30, 2024 · 0 comments · Fixed by #156
Closed

[Strings] LIKE raises an error when using an asterisk in the query text #149

ohaibbq opened this issue Jan 30, 2024 · 0 comments · Fixed by #156

Comments

@ohaibbq
Copy link
Contributor

ohaibbq commented Jan 30, 2024

The current implementation does not properly escape regexp special characters when compiling its matcher.

SELECT 'my*string' LIKE '%%*%%';

Expected

col1
true

Actual

error parsing regexp: invalid nested repetition operator *
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 a pull request may close this issue.

1 participant