Open LZGH opened 2 weeks ago
in snowflake and oralce there are more optional parameters in regexp_count, we can support the basic version as trino did first.
I came across this issue while working on #49575, which is also related to Trino. I would be appreaciate the opportunity to take responsibility for it. Could you assign it to me? @wangsimo0 @kateshaowanjou @kevincai @gengjun-git
Feature request
Is your feature request related to a problem? Please describe.
Support trino regexp_count(string, pattern) function
Returns the number of occurrence of pattern in string: SELECT regexp_count('1a 2b 14m', '\s[a-z]+\s'); -- 3
Describe the solution you'd like
Describe alternatives you've considered
Additional context