By default, lsearch uses the "globbing" method of finding a match. Globbing is the wildcarding technique that most Unix/Linux shells use as well as the Windows dir command.
globbing wildcards are:
There is also a glob command that you will see in later sections that uses glob pattern matching in directories, and returns a list of the matching files.
# Matches string match f* foo # Matches string match f?? foo # Doesn't match string match f foo # Returns a big list of files on my Debian system. set bins [glob /usr/bin/*]