You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use regex to match specific character by providing unicode code it seems that non-breakable space (chr: 160) is converted to regular space (chr: 32).
Thanks for the report! I've pushed a fix in #10061. This was an issue with the handling of unicode literals in an optimizer that converts static regexp expressions into string comparisons or LIKE expressions.
What happens?
When trying to use regex to match specific character by providing unicode code it seems that non-breakable space (chr: 160) is converted to regular space (chr: 32).
The RE2 engine seems to supports this fine: https://regex101.com/r/7SjXN9/1
To Reproduce
OS:
Linux
DuckDB Version:
0.9.2
DuckDB Client:
CLI
Full Name:
Tomasz Taraś
Affiliation:
Orsted
Have you tried this on the latest
main
branch?I have tested with a release build (and could not test with a main build)
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: