pub fn index_list(s: &str, n: usize, what: &str) -> Result<Vec<usize>>
“1,3” のような 1 始まりの番号の並びを 0 始まりにする。“all” は 0..n