Handle backreference tokens