diff --git a/integration_tests/src/main/python/string_test.py b/integration_tests/src/main/python/string_test.py index cadb0a43dd3..c0e883d97fd 100644 --- a/integration_tests/src/main/python/string_test.py +++ b/integration_tests/src/main/python/string_test.py @@ -780,11 +780,11 @@ def test_regexp_whitespace(): 'regexp(a, "[abcd]+\\s+[0-9]+")', 'regexp(a, "\\S{3}")', 'rlike(a, "[abcd]+\\s+\\S{2,3}")', - 'regexp_extract(a, "([a-d]*)([0-9\\s]*)([a-d]*)", 2)', - 'regexp_extract(a, "([a-d]*)(\\S*)([0-9]*)", 2)', - 'regexp_extract(a, "([a-d]*)(\\S*)([0-9]*)", 3)', - 'regexp_replace(a, "(\\s*)", "@")', - 'regexp_replace(a, "(\\S*)", "#")', + 'regexp_extract(a, "([a-d]+)([0-9\\s]+)([a-d]+)", 2)', + 'regexp_extract(a, "([a-d]+)(\\S+)([0-9]+)", 2)', + 'regexp_extract(a, "([a-d]+)(\\S+)([0-9]+)", 3)', + 'regexp_replace(a, "(\\s+)", "@")', + 'regexp_replace(a, "(\\S+)", "#")', ), conf=_regexp_conf)