Skip to content

Support trino regexp_count(string, pattern) function #52603

Open
@LZGH

Description

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions