private String listToString(List<String[]> listOfArrays) {
        return listOfArrays.stream()
                .map(array -> Arrays.stream(array)
                        .map(s -> "\"" + s + "\"")
                        .collect(Collectors.joining(",", "{", "}")))
                .collect(Collectors.joining(",", "[", "]"));
    }
RegexpMatchesFunction  ->  REGEX_MATCHES(source_string, regexp [, flags])
description:
- Return NULL if any of the arguments are NULL or invalid
- Return the result of the first match of the specified regular expression 'regexp' from 'source_string'
Note: 'flags' is one of  ('g' flag can be used when we want to match all the substrings that occur,
                'i' flag to ignore case for matching),
                'x' flag to extend syntax (ignoring whitespace and comments in regular expressions),
                'm' and 'n' flag allows regular expressions to match across multiple lines)
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/string/RegexpMatchesFunction.java