TokenList: create a helper to match tokens