regex_dict_str

Function regex_dict_str 

Source
pub fn regex_dict_str<'a, U: Integer, T: Integer>(
    lhs: CategoricalAVT<'a, U>,
    rhs: StringAVT<'a, T>,
) -> Result<BooleanArray<()>, KernelError>
Expand description

Applies regular expression patterns to categorical array values against string patterns.

Evaluates regex patterns from the string array against dictionary-resolved strings from the categorical array, producing a boolean array indicating matches.

§Parameters

  • lhs: Categorical array view tuple (CategoricalArray, offset, length)
  • rhs: Pattern string array view tuple (StringArray, offset, length)

§Type Parameters

  • U: Integer type for categorical array indices
  • T: Integer type for pattern 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.