Forum Discussion
hooleylist
Nov 08, 2011Cirrostratus
It would be significantly more efficient to replace the regexes with string patterns in the switch statement. You can check the string match man page for examples of the supported wildcards:
http://www.tcl.tk/man/tcl8.4/TclCmd/string.htmM35
Aaron