pub fn regex_str_str<'a, T: Integer, U: Integer>(
lhs: StringAVT<'a, T>,
rhs: StringAVT<'a, U>,
) -> Result<BooleanArray<()>, KernelError>Expand description
Applies regular expression pattern matching between two string arrays.
Evaluates regex patterns from the right-hand string array against corresponding strings in the left-hand array, producing a boolean array indicating matches.
§Parameters
lhs: Source string array view tuple(StringArray, offset, length)rhs: Pattern string array view tuple(StringArray, offset, length)
§Type Parameters
T: Integer type for left array offsetsU: Integer type for right array offsets
§Returns
Result<BooleanArray<()>, KernelError> where true indicates pattern match.
§Errors
Returns KernelError for invalid regular expression patterns.
§Feature Gate
Requires the regex feature to be enabled.
§Performance
- Regex compilation overhead amortised across bulk operations
- Pattern caching opportunities for repeated patterns