A line of code like this, involving non named $regml:
//noop $regex(a,(a)) | echo -ag regml1: $regml(1) | .timer -ho 1 0 echo -ag Tregml1: $!regml(1)
Shows that $regml(1) works correctly when evaluated because of the timer executing its command.
But I was trying this from an on hotlink event and $regml is only working inside the event, is it $null when the timer fires:
on $*:hotlink:/(a)b/:*:echo -ag regml: $regml(1) | .timer -ho 1 0 echo -ag Tregml: $!regml(1)
use "//echo -ag ab" to display ab in the active window and hover it with your mouse
I feel like this is a bug, not sure, but the inconsistency with how it works outside of an event is there.