pub fn getindex(
subscript: &str,
is_hash: bool,
ksh_arrays: bool,
) -> Result<SubscriptValue, String>Expand description
Parse array index subscript Port from getindex() in zsh/Src/params.c (lines 2001-2168)
Takes a subscript string like “1”, “1,5”, “@”, “(r)pattern” Returns SubscriptValue with start/end positions