Program to demonstrate pattern-searching of strings.
This program interactively builds a list of words and
searches for words in the list that match a specified pattern.
The pattern can include wildcard chars * and ?.
Eg : The query s* gives the words in the list which start with s.
The program uses a command-interpreter style interface for interaction with the user. Usage of the program is shown in the Usage() function.
The PatternSearch() function is the heart of the program. It returns 1 if a string pattern matches another in input.
The function has quite a few bugs I've not been able to put right. If
somebody can, please let me know.