This command is part of the TclX package.
- lmatch ?mode? list pattern
Returns a list of all elements of list that match pattern according to the rule defined by mode (one of -exact, -glob or -regexp; the default is -glob).
Compare with the lsearch command with the -inline and -all options.