You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HappenLee (via GitHub)" <gi...@apache.org> on 2025/05/29 05:47:18 UTC

[I] [Feature] Impl the function `regexp_count` like trino [doris]

HappenLee opened a new issue, #51350:
URL: https://github.com/apache/doris/issues/51350

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   regexp_count(string, pattern) → int[#](https://trino.io/docs/current/functions/regexp.html#regexp_count)
   Returns the number of occurrence of pattern in string:
   
   ```
   SELECT regexp_count('1a 2b 14m', '\s*[a-z]+\s*'); -- 3
   ```
   
   
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Feature] Impl the function `regexp_count` like trino [doris]

Posted by "dwdwqfwe (via GitHub)" <gi...@apache.org>.
dwdwqfwe commented on issue #51350:
URL: https://github.com/apache/doris/issues/51350#issuecomment-2942491105

   mark
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Feature] Impl the function `regexp_count` like trino [doris]

Posted by "felixwluo (via GitHub)" <gi...@apache.org>.
felixwluo commented on issue #51350:
URL: https://github.com/apache/doris/issues/51350#issuecomment-2921466429

   pick


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org