mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
extractAll: Fixed bug [CONV-8285]
This commit is contained in:
parent
8d8b96480b
commit
4ff415e336
@ -289,7 +289,7 @@ public:
|
||||
if (!pos || pos > end)
|
||||
return false;
|
||||
|
||||
if (!re->match(pos, end - pos, matches))
|
||||
if (!re->match(pos, end - pos, matches) || !matches[capture].length)
|
||||
return false;
|
||||
|
||||
token_begin = pos + matches[capture].offset;
|
||||
|
Loading…
Reference in New Issue
Block a user