ok, keep up the good work dude.
dunno if this will help you something:
wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"
8.4.x
wrong # args: should be "regsub ?switches? exp string subSpec varName"
8.3.x
in 8.4.x varName is optional
and the problem is on about line ~1660
in the if {$info(cast) ... part
2 append lines
|