We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
regexp_matches
This friendly guy ignores global setting when used in the context of scalar function regexp-matches.
regexp-matches
Postgres:
select regexp_matches('#abc #def #ghi', '(#[^\s]*)', 'g'); regexp_matches ---------------- {#abc} {#def} {#ghi} (3 rows)
CrateDB:
select regexp_matches('#abc #def #ghi', '(#[^\s]*)', 'g'); ['#abc'] ---------- {"#abc"} (1 row)
Use case: https://community.crate.io/t/regexp-matches-with-global-flag-returns-wrong-data/232/2
The text was updated successfully, but these errors were encountered:
This is a documented behaviour as CrateDB uses Lucene Regular Expressions on regexp_matches. See https://crate.io/docs/crate/reference/en/latest/general/builtins/scalar.html#regular-expression-functions and https://crate.io/docs/crate/reference/en/latest/general/builtins/scalar.html#flags.
Sorry, something went wrong.
marregui
No branches or pull requests
This friendly guy ignores global setting when used in the context of scalar function
regexp-matches
.Postgres:
CrateDB:
Use case:
https://community.crate.io/t/regexp-matches-with-global-flag-returns-wrong-data/232/2
The text was updated successfully, but these errors were encountered: