Why regexp match variables function fail
ex:
set var test "12345:34567"
set var a $TCL(regexp -all {([\d]{5}):([\d]{5})} $test all sub1 sub2)
sh var
following was result
------------------------------------------------------------------
variableName variableValue
-------------------------------- --------------------------------
a 1
CLI.SESSION_TYPE telnet
CLI.USER admin
STATUS 0
test 12345:34567
from display can't found all, sub1 and sub2 varible