From 25768669f0d634197e7ca22cecc2d0bcb26c53e4 Mon Sep 17 00:00:00 2001 From: Michael Xu Date: Fri, 15 Sep 2023 16:11:38 -0400 Subject: [PATCH] handle possible panic case when building the regex --- e2e_test/batch/basic/func.slt.part | 3 +++ src/expr/src/vector_op/regexp.rs | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/e2e_test/batch/basic/func.slt.part b/e2e_test/batch/basic/func.slt.part index ec60f6512406d..501ab464b8acd 100644 --- a/e2e_test/batch/basic/func.slt.part +++ b/e2e_test/batch/basic/func.slt.part @@ -594,6 +594,9 @@ select regexp_replace('foobarXaz', '(?