add iterative token parsing for uri expressions