Is it possible to extend ^unmark (and I guess ^mark to be consistent) to allow the second parameter to be a $$ variable that contains the word number?
I have a situation where I am calling ^respond() in a loop to locate date related words but there could be several false positives, so the respond topic marks everything as ~parsed and then I remove that marking at the end for the words that are not of interest at this point in time. Because of the multiple calls to the respond topic I can’t track the match variables, only their positions.
As a workaround I am using an outputmacro to ^setposition() on a high numbered match variable to potentially avoid conflicts and then unmarking that.