pub(crate) fn regex_match_dyn_scalar( left: &dyn Array, right: ScalarValue, not_match: bool, flag: bool, ) -> Option<Result<ArrayRef>>