-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add =~ operator for where #5607
Comments
@chrismo: Thanks for the suggestion. I'll discuss it with the Dev team, but here's some initial thoughts. Was its use in Given that the direction of the project is toward SQL compliance with helpful extensions and shorthand, it's also worthwhile to survey what the various SQL solutions have here. For example, DuckDB's regexp support looks roughly similar to what we've got today in that it's function centric, and there's actually some direct overlap such as how we both have In conclusion, there's definitely still work for us to do with regexp in general to be more in line with what users would expect coming from another SQL solution like Postgres, and as part of that effort it seems TBD which shorthands we'll adopt first and if we'd go even further by also supporting our own shorthands like |
Ruby uses it, for one - not sure about other languages.
Yeah, sorry - I didn't think about |
In the Slack, I asked, is there a way to use regex with
where
?search /foobar/
works - is there awhere
equivalent? Steve mentionedWhat about adding a
=~
operator sowhere =~ /(f|z)/
could work too?The text was updated successfully, but these errors were encountered: