Update test

This commit is contained in:
Alexey Milovidov 2020-05-08 02:34:48 +03:00
parent a366e6924b
commit e6b08799a0
4 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,4 @@
0 groups, zero matches
[[],[]]
1 group, multiple matches, String and FixedString
[['hello'],['world']]
[['hello'],['world']]

View File

@ -7,7 +7,7 @@ SELECT extractAllGroups('hello world', '((('); --{serverError 427} invalid re
SELECT extractAllGroups('hello world', materialize('\\w+')); --{serverError 44} non-const needle
SELECT '0 groups, zero matches';
SELECT extractAllGroups('hello world', '\\w+');
SELECT extractAllGroups('hello world', '\\w+'); -- { serverError 36 }
SELECT '1 group, multiple matches, String and FixedString';
SELECT extractAllGroups('hello world', '(\\w+)');

View File

@ -1,5 +1,4 @@
0 groups, zero matches
[]
1 group, multiple matches, String and FixedString
['hello','world']
['hello','world']

View File

@ -7,7 +7,7 @@ SELECT extractGroups('hello world', '((('); --{serverError 427} invalid re
SELECT extractGroups('hello world', materialize('\\w+')); --{serverError 44} non-const needle
SELECT '0 groups, zero matches';
SELECT extractGroups('hello world', '\\w+');
SELECT extractGroups('hello world', '\\w+'); -- { serverError 36 }
SELECT '1 group, multiple matches, String and FixedString';
SELECT extractGroups('hello world', '(\\w+) (\\w+)');