Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support regular expression related functions #23881

Closed
windtalker opened this issue Apr 7, 2021 · 3 comments · Fixed by #37407
Closed

support regular expression related functions #23881

windtalker opened this issue Apr 7, 2021 · 3 comments · Fixed by #37407
Assignees
Labels
feature/accepted This feature request is accepted by product managers type/feature-request This is a feature requests on the product

Comments

@windtalker
Copy link
Contributor

windtalker commented Apr 7, 2021

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

From MySQL 8.0, more regular expression function is supported, I would like TiDB to support more regular expression functions(REGEXP_INSTR(),REGEXP_LIKE(),REGEXP_REPLACE(),REGEXP_SUBSTR()) as well.
Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@windtalker windtalker added the type/feature-request This is a feature requests on the product label Apr 7, 2021
@zz-jason zz-jason added the feature/accepted This feature request is accepted by product managers label Apr 7, 2021
@github-actions github-actions bot added this to Need Triage in Feature Request Kanban Apr 7, 2021
@zz-jason zz-jason moved this from Need Triage to Accepted in Feature Request Kanban Apr 7, 2021
@morgo morgo mentioned this issue Dec 3, 2021
69 tasks
@Mini256
Copy link
Member

Mini256 commented Jun 13, 2022

Anything updated about this issue? 🤔

I want to use the REGEXP_SUBSTR function in the SQL query to intercept the string in the query result, but I found that TIDB does not support the use of regular expressions for string extraction.

Is there any other alternative way to achieve the same function?

@xzhangxian1008
Copy link
Contributor

/assign

@xzhangxian1008
Copy link
Contributor

Anything updated about this issue? 🤔

I want to use the REGEXP_SUBSTR function in the SQL query to intercept the string in the query result, but I found that TIDB does not support the use of regular expressions for string extraction.

Is there any other alternative way to achieve the same function?

We will start this feature as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/accepted This feature request is accepted by product managers type/feature-request This is a feature requests on the product
Projects
Development

Successfully merging a pull request may close this issue.

4 participants