Pretty sure `match["equals"][len(match["equals"])-1]` is the same as `match["equals"][-1]`