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
Is your feature request related to a problem? Please describe.
I would like the regex I provide to expect_column_values_to_match_regex_list and similar tests to be case-insensitive, but currently that is not possible.
Postgres, Snowflake, and Redshift support an argument (called flags in pg and parameters in the others) for this. BigQuery does not, but the column could be lowercased before being passed into regexp_instr.
Describe the solution you'd like
Add a flags argument to expect_column_values_to_match_regex_list and other regex-based tests that accepts a string value and passes it through to the underlying database implementation.
Describe alternatives you've considered
Rolling my own test.
Additional context
I'm happy to contribute this if there is interest.
The text was updated successfully, but these errors were encountered:
tconbeer
changed the title
[Feature Request] Allow regex parameters in regexp_instr and calling tests
[Feature Request] Allow regex flags/parameters in regexp_instr and calling tests
Mar 3, 2023
Is your feature request related to a problem? Please describe.
I would like the regex I provide to
expect_column_values_to_match_regex_list
and similar tests to be case-insensitive, but currently that is not possible.Postgres, Snowflake, and Redshift support an argument (called
flags
in pg andparameters
in the others) for this. BigQuery does not, but the column could be lowercased before being passed into regexp_instr.Describe the solution you'd like
Add a
flags
argument toexpect_column_values_to_match_regex_list
and other regex-based tests that accepts a string value and passes it through to the underlying database implementation.Describe alternatives you've considered
Rolling my own test.
Additional context
I'm happy to contribute this if there is interest.
The text was updated successfully, but these errors were encountered: