Closed fhoffa closed 1 year ago
The README says that "In Snowflake, the regex lookup pattern is implicitly anchored at both ends".
Switching to regexp_instr()>0 avoids this difference in behavior:
regexp_instr()>0
with data(s) as (select 'abcdefgh') select s, s regexp '.*bcd.*', regexp_instr(s, 'bcd')>0 from data;
The README says that "In Snowflake, the regex lookup pattern is implicitly anchored at both ends".
Switching to
regexp_instr()>0
avoids this difference in behavior: