scancontext is the first of a set of commands intended to be used together to search through a file for regular expression matches.
See also scanmatch and scanfile.
Category Command, a part of TclX.