Just curious, did you specify order ?
dict[`he.*`] == [4,2] could also hold. Or maybe [...] was a set literal and not ordered list.
Interesting ideas, perlish in spirit, somehow less cryptic.
Was it published ? was there other ideas you could talk about ?