fn get_index<'strings, 'cache>(
value: Option<&str>,
pattern: &'strings str,
start: i64,
n: i64,
subexpr: i64,
flags: Option<&'strings str>,
regex_cache: &'cache mut HashMap<(&'strings str, Option<&'strings str>), Regex>,
) -> Result<Option<i64>, ArrowError>where
'strings: 'cache,