{"Entry":{"collection":"func","key":"regexp-split-to-array","name":"regexp_split_to_array","aliases":[],"metadata":{"changed_in":["19"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"14"},{"descriptions_changed":true,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":["regexp_split_to_array(string, pattern [, flags]) → text[]"],"removed":[]},"status":"changed","to":"19"}],"content_hash":"5629d7d772702355a5485fc22f7ef801a805b549fb8768fb10d9a9300b4f63f2","first_version":"8.3","group":"string","group_label":"String Functions And Operators","groups":["string","matching"],"imported_at":"2026-09-27T17:57:28.401561+08:00","last_version":"20","name":"regexp_split_to_array","name_key":"regexp_split_to_array","position":3033,"present_in":["8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]","signature_count":2,"slug":"regexp-split-to-array","source_rev":"b7bd9cda","summary":"Splits string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.1.9.","summary_zh":""}},"Definition":{"Collection":"func","Key":"regexp-split-to-array","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"regexp-split-to-array","SourceRevision":"b7bd9cda","Facts":{"description":"Splits string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.","description_html":"Splits \u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e using a POSIX regular expression as the delimiter, producing an array of results; see \u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" title=\"9.7.3. POSIX Regular Expressions\"\u003eSection 9.7.3\u003c/a\u003e.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","slug":"18"},"group":"string","group_label":"String Functions And Operators","lang":"en","layout":"table-new","pages":["functions-string.html"],"prose_only":false,"signatures":[{"description":"Splits string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.","description_html":"Splits \u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e using a POSIX regular expression as the delimiter, producing an array of results; see \u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" title=\"9.7.3. POSIX Regular Expressions\"\u003eSection 9.7.3\u003c/a\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"regexp_split_to_array('hello world', '\\s+')","result":"{hello,world}"}],"html":"\u003ccode class=\"function\"\u003eregexp_split_to_array\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003epattern\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eflags\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"regexp-split-to-array","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"regexp_split_to_array","Summary":"使用POSIX正则表达式作为分隔符拆分string，生成一个结果的数组；参见第 9.7.3 节。","BodyHTML":"使用POSIX正则表达式作为分隔符拆分\u003cem\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e，生成一个结果的数组；参见\u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" rel=\"nofollow\"\u003e第 9.7.3 节\u003c/a\u003e。\u003cpre\u003eregexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]\u003c/pre\u003e使用POSIX正则表达式作为分隔符拆分\u003cem\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e，生成一个结果的数组；参见\u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" rel=\"nofollow\"\u003e第 9.7.3 节\u003c/a\u003e。","SourceRevision":"1b5ca64c","ContentHash":"2dfab16d13c06168e5c8cdba7b96cc67e5cd3598fb2372311139ccd8157abfbe","Payload":{"description_zh":"使用POSIX正则表达式作为分隔符拆分string，生成一个结果的数组；参见第 9.7.3 节。","description_zh_html":"使用POSIX正则表达式作为分隔符拆分\u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e，生成一个结果的数组；参见\u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" title=\"9.7.3. POSIX正则表达式\"\u003e第 9.7.3 节\u003c/a\u003e。","signatures":[{"description_zh":"使用POSIX正则表达式作为分隔符拆分string，生成一个结果的数组；参见第 9.7.3 节。","description_zh_html":"使用POSIX正则表达式作为分隔符拆分\u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e，生成一个结果的数组；参见\u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" title=\"9.7.3. POSIX正则表达式\"\u003e第 9.7.3 节\u003c/a\u003e。","returns":"text[]","text":"regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"b0dcbac08a4b994c6561e0207af4a13a2c9ad3fe2707dcbfae932caf89e382a8","Text":"regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]","Returns":"text[]","Payload":{"description":"Splits string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.","description_html":"Splits \u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e using a POSIX regular expression as the delimiter, producing an array of results; see \u003ca href=\"/docs/18/functions-matching.html#FUNCTIONS-POSIX-REGEXP\" title=\"9.7.3. POSIX Regular Expressions\"\u003eSection 9.7.3\u003c/a\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"regexp_split_to_array('hello world', '\\s+')","result":"{hello,world}"}],"html":"\u003ccode class=\"function\"\u003eregexp_split_to_array\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003estring\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003epattern\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eflags\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"regexp_split_to_array ( string text, pattern text [, flags text ] ) → text[]","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
