as in the case of `frame` command regex parameter, up an down should accept regex too, searching for matching methods in their respective directions