The tokenizer will currently split this structured reference:
Into multiple tokens because it does not handle nested brackets correctly
Thanks. I changed the implementation subsequently because I think this can be simpler: we just need to check that brackets are balanced and set the token accordingly. Tests pass but you might want to review it.