http://www.purl.org/tcl/home/man/tcl8.4/TclCmd/tclvars.htm collects the formal reference info for tclvars...
The variables tcl_wordchars and tcl_nonwordchars define what letters are treated as valid for words. The variables are auto-loaded along with the commands they control, such as tcl_endOfWord.
This means that to change the characters that are valid, you must first do something like:
catch {tcl_endOfWord}
See also "Tcl syntax help" and "magic names".