Skip to content

Clickhouse array string find end has wrong regular expression for missing case#177

Open
loganma wants to merge 1 commit intoInfinidat:developfrom
loganma:develop
Open

Clickhouse array string find end has wrong regular expression for missing case#177
loganma wants to merge 1 commit intoInfinidat:developfrom
loganma:develop

Conversation

@loganma
Copy link

@loganma loganma commented Aug 24, 2021

Old regular expression will missing the condition of the string has single quotes, which like ‘L'Oreal Paris' It will split into two words of "L" and "Oreal Paris'".
To judged as the end of a independent word in array, not only the single quotation mark needs to be judged, but also whether it is end with ',' or ']' can be determined as the end of word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant