[docs] Document the optional group index of regexp_extract_all - #4022
Open
ccl125 wants to merge 1 commit into
Open
[docs] Document the optional group index of regexp_extract_all#4022ccl125 wants to merge 1 commit into
ccl125 wants to merge 1 commit into
Conversation
Document the third parameter (idx) of REGEXP_EXTRACT_ALL in both the dev and 4.x versions, in English and Chinese: group selection semantics (0 = whole match, 1 = default first group), empty strings for non-participating groups, and the out-of-range error contract. Function change: apache/doris#66050
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Document the optional third parameter
<idx>ofREGEXP_EXTRACT_ALL, covering:REGEXP_EXTRACT_ALL(<str>, <pattern>[, <idx>])<idx>row in the parameters tableidx = 0(whole match),idx = N(N-th capturing group), empty strings for non-participating groups, and the out-of-range error contractVersions/languages covered, as requested in the function PR review:
docs/.../regexp-extract-all.md(dev, en)i18n/zh-CN/docusaurus-plugin-content-docs/current/.../regexp-extract-all.md(dev, zh)versioned_docs/version-4.x/.../regexp-extract-all.md(4.x, en)i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/.../regexp-extract-all.md(4.x, zh)Related
Function implementation: apache/doris#66050