TEST(RegexMatchExpression, RegexCannotBeInvalidUTF8) {
    ASSERT_NOT_OK(RegexMatchExpression().init("path", "^\xff\xff", ""));
    ASSERT_NOT_OK(RegexMatchExpression().init("path", "^42", "\xff\xff"));
}
TEST(RegexMatchExpression, RegexCannotBeInvalidUTF8) {
    ASSERT_NOT_OK(RegexMatchExpression().init("path", "^\xff\xff", ""));
    ASSERT_NOT_OK(RegexMatchExpression().init("path", "^42", "\xff\xff"));
}