This would crash from the highlighter for something like `PATH={$PATH[echo " "` The underlying cause is that we use "char_at" which panics on overread. So instead this implements try_char_at and then just returns None.