(
text: &str,
regexp_str: &str,
flags: OptionalArg<&str>,
temp_storage: &'a RowArena,
)
| 1252 | introduces_nulls = false |
| 1253 | )] |
| 1254 | fn regexp_split_to_array<'a>( |
| 1255 | text: &str, |
| 1256 | regexp_str: &str, |
| 1257 | flags: OptionalArg<&str>, |
| 1258 | temp_storage: &'a RowArena, |
| 1259 | ) -> Result<Datum<'a>, EvalError> { |
| 1260 | let flags = flags.unwrap_or(""); |
| 1261 | let regexp = build_regex(regexp_str, flags)?; |
| 1262 | regexp_split_to_array_re(text, ®exp, temp_storage) |
| 1263 | } |
| 1264 | |
| 1265 | #[sqlfunc] |
| 1266 | fn regexp_replace<'a>( |
no test coverage detected