mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 10:10:50 +00:00
87b2d90725
Function that extracts from haystack all matching non-overlapping groups with regular expressions, and put those into Array(Array(String)) column. Example: :) SELECT extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)'); ┌─extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)')─┐ │ [['abc','def','"jkl mno"'],['111','222','"444 foo bar"']] │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ |
||
---|---|---|
.. | ||
0_stateless | ||
1_stateful | ||
bugs | ||
__init__.py | ||
.gitignore | ||
conftest.py | ||
query_test.py | ||
server.py | ||
shell_config.sh |